I noticed the LCD_BITS 4 line in your code. I've never used that line before and always used 4-bit LCDs. I added it anyway and no change. I also changed the LCD init line to same as yours, and outputted everything on one LCDOUT command like you. Same result.
I'm sure I recall using a specific command to use the internal osc in the past, whereas this datasheet indicates clearing option register bit 5 will turn it on?
To be honest I don't really know how to set the option register bits with the setup I am using now. I'm using the dos-based pickit2 so I don't get to choose the option bits before I hit program.
I feel stupid for claiming I've done this before but not knowing how to set option reg bits.




Bookmarks