By default portA is analog, to turn it into digital add: ADCON1 = 7 to your code before the tris setting.
Cheers
Al.
By default portA is analog, to turn it into digital add: ADCON1 = 7 to your code before the tris setting.
Cheers
Al.
All progress began with an idea
Bookmarks