Hello manjero, I think that Darrel missed the fact that you're using an 'F84. You can drop the:-
CMCON0 = 7
ANSEL = 0
The 'F84 doesn't have any analogue inputs to turn off or configure as digital IO. They're always digital IO. In fact, I have 16F84(A) selected, the compiler, (v 2.44), doesn't even recognise CMCON0.
... Steve (Yep, another one)




Bookmarks