NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » Multiple blinking LEDs
October 23, 2010 by mmw1 ![]() |
I have the led_blink.c project completed. I decided to blink two LEDs using PC4 and PC3. Works great. However the other pins (PC5, PC2, PC1, and PC0) will not blink an LED. Can anyone tell me why? |
---|---|
October 23, 2010 by Rick_S ![]() |
Did you set them as outputs? If you don't post your code, it's difficult to help. Rick |
October 23, 2010 by mmw1 ![]() |
Rick, Thanks. That was the problem! I forgot to set them as outputs. Mike |
Please log in to post a reply.
Did you know that using an alternating excitation voltage can reduce the noise in many sensor measurements? Learn more...
|