NHD-C12864A1Z-FS(RGB)-FBW-HT1 Stuck Pixels
Hi,
I am using the NHD-C12864A1Z-FS(RGB)-FBW-HT1 in multiple projects. I have it working good with
with the #include "ST7565.h" library from Adafruit.
My problem is every time I compile my code there are what appears to be "stuck" pixels
just right outside the viewing area. I am sending
glcd.clear();
glcd.drawstring(0, 4, "LINE 1"); // LINE 1
glcd.drawstring(0, 5, "LINE 2"); // LINE 2
glcd.display();
As you can see from my attached pic, the pixels are to the left of the X axis when set to "0".
It is happening on multiple screens and multiple board revs. Any help would be appreciated.
Thanks
mike
-
Please confirm the initialization code for the NHD-C12864A1Z-FS(RGB)-FBW-HT1 is correct as per our datasheet.
Also, here is a link to some example programs using the ST7565.h library that may be useful. https://www.pjrc.com/teensy/td_libs_ST7565.htmlSub Command
Reset P3.7
Reset P3.4
For Writecount = 1 To 8
Rotate A , Left , 1
Reset P3.1
P1 = A
Set P3.1
Next Writecount
Set P3.7
End Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Sub Write
Reset P3.7
Set P3.4
For Writecount = 1 To 8
Rotate A , Left , 1
Reset P3.1
P1 = A
Set P3.1
Next Writecount
Set P3.7
End Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Sub Init
Waitms 100
A = &HA0
Call Command
A = &HAE
Call Command
A = &HC0
Call Command
A = &HA2
Call Command
A = &H2F
Call Command
A = &H26
Call Command
A = &H81
Call Command
A = &H11
Call Command
A = &HAF
Call Command
End Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Regards,
0
Please sign in to leave a comment.
Comments
1 comment