Hi. I am trying to build a very simple device that can turn on six different LED's, one at a time. I have some experience with pics, and the circuit is working well digitally.
Attached is a simplified circuit diagram to help me explain. The only things not included in this diagram are the programming pins and resistors, a couple of switches attached to int0 and int1 (with pulldown resistors) and a couple decoupling caps.
I set PORTA to digital outputs, then set each pin to 0 to turn on the LED. Simple, right?
Unfortunately, one LED (the blue one) almost always stays on. ARGH! Its stays on UNLESS I have its pin enabled. In which case no LED is illuminated.
Does anyone know how this could happen? Is there something wrong with my circuit setup?