Close

Test the code

A project log for ESP8266 based EPD Google Calendar

List of the upcoming Google Calendar events on a Waveshare's 7.5inch e-Paper HAT (B) driven by an arduino NodeMCU run on battery

borazsloborazslo 01/18/2019 at 18:462 Comments

The GxEPD2 offers an example code, but it needs some adjustments: 

- You need to change all the "const char" parts of the code to "char". 

- You need to comment out the line of the right display around Line 92:

GxEPD2_3C<GxEPD2_750c, GxEPD2_750c::HEIGHT / 4> display(GxEPD2_750c(/*CS=15*/ SS, /*DC=4*/ 4, /*RST=5*/ 5, /*BUSY=16*/ 16));

- The right pin mapping should be adjusted in the same line 

GxEPD2_3C<GxEPD2_750c, GxEPD2_750c::HEIGHT / 4> display(GxEPD2_750c(D8,  D3, D4, D2));

Upload the code and see the miracle. :D 

Discussions

kindzhon wrote 03/17/2021 at 03:46 point

where's the code?

  Are you sure? yes | no

FitzZZ wrote 02/01/2019 at 23:38 point

You have no idea how much I appreciate you right now. :-)

Mind elaborating on the char change in the code?

  Are you sure? yes | no