Author
Topic: NHD-0216K1Z (Read 2124 times)

I can display one letter, but debugging my program I'm sending more characters than aren't displayed. Using PIC16F886. I'm using code close to what I read on this forum. I've enclosed the code, doing something wrong.The initialization is copied from code on the forum. Also I don't understand the newline command 0xC0 ?The program will also be used later for AD converter. But right now I want to get the display to work. Plus it gives me some LCD display experience.

On page 6 of the datasheet, we have the master table of instructions. On this we are using the Set DDRAM Address command (4th command from the bottom).Using this you can set the cursor to any position of the display, the addresses of the digits can be found on the bottom of page 5.

OK thanks. I will be experimenting a little more and will use that method. I'm a C programmer using a PIC. Here is some C code if someone is interested. To run it, header files, timers (delay) and variables need to be defined.