Hello Unregistered ,
Originally Posted by alanmcf Hmmm... Sougata's point about starting timer1 sounds like it might be the culprit, It is! The line T1CON = %00001101 '<-- settings for 16 MHz turns on the Timer1 Oscillator, which disables RC1's digital I/O functions. Since you are using the Elapsed Timer, there's no need to set T1CON. The Include file does that for you. <br>
DT
View Tag Cloud
Forum Rules
Bookmarks