Here is my schematic....
Thanks again,
Bill
Here is my schematic....
Thanks again,
Bill
Hi,
Yeah, sorry about that, it should of course be CMCON0 = 7 and ANSEL = 0.
You have D7 on the LCD connected to RA3 which is also the MCLR pin on the 16F688. There are two issues with that.
1) The MCLR functionallity would have to be disabled via the CONFIG bits in order for that pin to work as anything but MCLR.
2) On the 16F688, even with MCLR disabled, RA3 can only work as an inputs as it lacks output driver circuitry.
You'll be better off moving the datalines to PortC.0-3, put the Enable signal on PortC.4 and RS on PortC.5. Use the DEFINE directive to change the pin-mapping, just as you did for the Enable signal.
/Henrik.
Hi Henrik,
Yes, in the period of time since I posted my schematic, I learned that RA3 is input-only. I was in the process of re-mapping all of my PortA connections to PortC, which is also what you suggested. Now I have high hopes that this may work! I will post an update after testing......
Thanks again,
Bill
If you get LCD working.
I'm not on PBP3 but shouldn't it be:
LCDOUT $FE,$C0,"Hello."
and
LCDOUT $FE,$C0,"World."
Depends on what you want to do. $FE, $1 clears the display while $FE, $C0 moves the cursor to the second line. Neither is wrong...
Either way it has nothing to do with the version of PBP, it's the way the HD44780 controller on the LCD works.
Bookmarks