U8G2_ST7565_NHD_C12864 shows all pixels on after .begin() #1826
-
Hi after updating the libraries to the latest version my code now displays all pixels "on" after the .begin() function. Any help on this would be appreciated. Until then I will be limited to version 2.32.7 I am using the NHD-C12864A1Z-FSW-FBW-HTT display that has a ST7565 controller. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
hmmm... seems to be a feature not a bug: Line 644 in ec7c1fa and #142 (power down sequence for ST7565, UC1701 and others) In your code: Did you miss to leave power down mode? in fact power on sequence will put your display into "normal" mode (0xa4): Lines 43 to 49 in ec7c1fa With u8g2 you need to use
to leave power down mode (https://github.com/olikraus/u8g2/wiki/u8g2reference#setpowersave) Still strange, because setPowerSave is automatically called with u8g2.begin() |
Beta Was this translation helpful? Give feedback.
-
Found the issue, there was a change to the contrast value (issue 1678) that caused my old value scaling to not work the same way. sorry for the inconvenience, I've readjusted my value and now the newest version works. Thanks |
Beta Was this translation helpful? Give feedback.
Found the issue, there was a change to the contrast value (issue 1678) that caused my old value scaling to not work the same way. sorry for the inconvenience, I've readjusted my value and now the newest version works.
Thanks