Re: led blink help needed
Which PIC are you using??
make sure that you have analog inputs turned off.
Most PIC's defalult to analog inputs turned on.
Check the ANSEL register (or what ever the analog select register is for the PIC you are using)
the "HIGH" and "LOW" command can mask this problem as it somehow disables the analog for that pin during that command (or something like that)
anyway as I said, most PIC's default to analog inputs enabled.
You need to turn off the analogs if you are just trying to blink an LED.
Do you have the datasheet for your PIC?
Last edited by Heckler; - 19th March 2014 at 16:13.
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Bookmarks