Add DEFINE OSC 16 somewhere in the beginning, and add a PAUSE after Led = 1.
Also - ADCON1 = 15 does not do what you think it's doing. Look at the ANSEL registers.
Add DEFINE OSC 16 somewhere in the beginning, and add a PAUSE after Led = 1.
Also - ADCON1 = 15 does not do what you think it's doing. Look at the ANSEL registers.
Last edited by Bruce; - 26th April 2011 at 19:16.
Bookmarks