Add the following to the top of the program:
CMCON=%00000111 ' Disable Comparators
ANSEL=%00000000 ' force RB6 and RB7 digital (16F88 specific)
Add the following to the top of the program:
CMCON=%00000111 ' Disable Comparators
ANSEL=%00000000 ' force RB6 and RB7 digital (16F88 specific)
Already have : CMCON = 7 ' PortA = digital I/OOriginally Posted by DynamoBen
i bet on the internal osc... place the following at the top of your code
OSCCON=%01110000 ' for 8MHZ operation
OR
OSCCON=%01100000 ' for 4MHZ operation
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks