Stuck in a bad configuration
I have a problem that with an error I sent a lot of data as commands and now my display is stuck with
1) starting about 2/3 to 3/4 of the way to the right and then wraps around.
2) stuck in two line mode as it does not display the third line when I try to write to it.
3) blocked at 2 lines and 6 pixel width.
I have tried sending the initialization string (only question is the control words, I send a control word of 0x80 for command and if it is followed by data I send a second control word of 0x00 followed by the data (example 0x80 0x72 0x00 0x00 for the second cmd+data command in the initialization sequence). All communication received good Acks
Any information or a method to do a factory reset would be appreciated
-
Hi oldManDon,
Please let us know the part number of the OLED display.
Regards,
0 -
NHD-0420CW-AB3
And ignore the part about the 2 lines (that was my code error). I have a nice working display with various types of situations, but always shifted over and with characters that touch each other0 -
Please review this example code on our Github as an example:
https://github.com/NewhavenDisplay/NHD-0420CW_font_height/blob/master/4x20_character_OLED.ino
https://github.com/NewhavenDisplay/NHD_US2066
Best Regards,0
Please sign in to leave a comment.
Comments
3 comments