I am not using the Liquid Crystal h file or any code in the Arduino sketchbook. I need the cursor on my display to go to the next line. :~ :~ :~
Hi, thank you...here is the datasheet. This is my second time inquiring about these displays. The first one was using the NHD-C0220AZ which was a 5V display and would not work with a 3.3V Arduino Pro Mini. Now I have changed the display and have most of the code to get it going but I am having trouble moving the cursor(to the second line). It will be easy once I find which command it is. If you know anything about these commands please reply. Thank you for your help I will take a look at your link. http://www.newhavendisplay.com/specs/NHD-C0220AA-FSW-FTW.pdf
It looks like NHD calls the command 'DD RAM Address Set'.If you want to put the cursor at address 0x40 then the seven-bit binary version of this address would be 100 0000. To convert this seven-bit address to a command (aka an instruction) you would put the address bits into DB6 <--> DB0 and then set DB7 to specify the 'DD RAM Address Set' command.This means that your specific DD RAM Address Set command would be 1100 0000.So you would send this value, which in hex is 0xC0 to the instruction register of the LCD controller. [Edit] CAUTION: Pin 2 is contrast and pin 3 is VDD, reversed from just about every other LCD. Don
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16