Gday Melanie
Re 16F88s and the statement "ADCON, CMCON etc have no effect on PORTB which is what you're connected to."
I had problems with a 4line LCD and a 16F88 about 6mths ago.
Data was on RB4-7.
The code i had worked perfectly on a 2line LCD but not the 4line unit. Both used the same chipset and initialisation routines.
I then went and studied the manual, but i couldnt find anything that would account for my problem, however I did note that RB6 and 7 were analogue pins on this chip.
Grasping at straws, i set ANSEL to force RB6 and RB7 digital prior to initialsing the LCD ( as they start analogue ). This solved my problem, but i'm not sure why.
Is this something you would "need" to do with this chip, or have i just found something that seems to fix my problem?
Andrew
ps original problem was with PBP2.44 and the 16f88 patch off the MEL site
Bookmarks