NHD-0420CW-AB3 first character missing
Hello,
I make a complete initisalisation of the OLED.
I can write text on screen.
The problem is that I define DDRAM adress to 00H by command 0x80.
But on screen first character is missing, it seem that all line are shifted to one adress. and At the end of text a random character corresponding to my fisrt character is writen.
0x80 correspond to DDRAM adress 01 ( should be 00)
0x0A correspond to DDRAM adress 21 ( should be 20)
...
Any suggestion?
Initialisation came form datasheet.( same code)
I used 8 bits-6800 configuration.
Thanks
I make a complete initisalisation of the OLED.
I can write text on screen.
The problem is that I define DDRAM adress to 00H by command 0x80.
But on screen first character is missing, it seem that all line are shifted to one adress. and At the end of text a random character corresponding to my fisrt character is writen.
0x80 correspond to DDRAM adress 01 ( should be 00)
0x0A correspond to DDRAM adress 21 ( should be 20)
...
Any suggestion?
Initialisation came form datasheet.( same code)
I used 8 bits-6800 configuration.
Thanks
0
-
Hi Alain,
Glad to hear your using our display. You might have a command(0x18) or command(0x1C) in your code that may be causing your unwanted shift. The initialization code should work from the datasheet. We have an example code uploaded on our GitHub page though it is in serial may to compare and try testing with.
GitHub: https://github.com/NewhavenDisplay/NHD-0420CW-Slim-OLED/blob/main/NHD%200420CW%20DemoCode/SlimOLED0420CWDemoCode.ino
Thanks,
ZP0
Please sign in to leave a comment.
Comments
1 comment