Xinyuan-LilyGO / LilyGo-T5-Epaper-Series

183 stars 60 forks source link

T5 V2.2 Partial Update Example not working #9

Closed haldi4803 closed 3 years ago

haldi4803 commented 3 years ago

Hi, I got the TTGO T5 V2.2 with revision 20181116 using #include <GxGDEH029A1/GxGDEH029A1.h> // 2.9" b/w the GxEPD_Example works fine. But the GxEPD_Partial_Update_Example with the same settings seems to work only in Serial but doesn't show anything on the Screen. Not even refreshing. Screen is simply dead.

I think this might be an issue with: display.updateWindow(0, 0, GxEPD_WIDTH, GxEPD_HEIGHT, false);

Because when i use Serial.println before it works but afterwards it doesn't...

haldi4803 commented 3 years ago

Oh -.- the
SPI.begin(EPD_SCLK, EPD_MISO, EPD_MOSI);

is missing in the Setup before Line 61
display.init(); // enable diagnostic output on Serial