Tried another sample file with MPLAB and actually managed to get it to build and load. But "NO" LCD initialization, still a top row boxes.
Will have to Google the 16f1827 some more and see if someone has Ideas.
Tried another sample file with MPLAB and actually managed to get it to build and load. But "NO" LCD initialization, still a top row boxes.
Will have to Google the 16f1827 some more and see if someone has Ideas.
Do you have pin 3 of the LCD (contrast) connected to a POT?
Dave
Always wear safety glasses while programming.
YES I do.... Should have mentioned that earlier on.
Actually used a little interface board from here :http://www.mikroe.com/eng/products/v...adapter-board/ pre-wired for 4 bit mode
That POT is for the backlight according to the data sheet.
Dave
Always wear safety glasses while programming.
The pot is for the contrast, I have 3 pots on a separate board to control the RGB back light.
The display DOES use the standard LCD controller, I made sure I at least got that part right.
I think some of the problems I am having is not being sure of what coding the file example I am trying to copy is in (Basic, C, Assembly).
To just initialize the LCD I am assuming I have to Code the port/Pins the LCD is on, and then send the initialization string "LCD_Init" .
Bookmarks