You get this error because there is no PORTB on the 16F688. Only PORTA,
and PORTC.
Invalid RAM location specified is returned because the LCDOUT library
function is attempting to use an I/O port that is not defined in the device
header file for the 16F688.
Use the LCDOUT defines "shown in your manual" to reassign PORTA & PORTC
for LCDOUT control I/O-pins.
Tip: You will also want to turn off A/D & comparators with;
ANSEL = 0 ' All pins digital
CMCON0 = 7 ' Comparators disabled
CMCON1 = 0 ' For RA4
Bookmarks