Closed florin03 closed 3 years ago
I could do, but you only need to change 1-line for your display that’s it. Change the colours to your choice.
Hi, Maybe you can give me more info on what to change, i replaced in your code the line : GxEPD2_BW<GxEPD2_290, GxEPD2_290::HEIGHT> display(GxEPD2_290(/CS=D8/ EPD_CS, /DC=D3/ EPD_DC, /RST=D4/ EPD_RST, /BUSY=D2/ EPD_BUSY));
with
GxEPD2_3C<GxEPD2_290c, GxEPD2_290c::HEIGHT> display(GxEPD2_290c(/CS=5/ SS, /DC=/ 17, /RST=/ 16, /BUSY=/ 4));
from GxEPD2 exemple, just nothing apears on the screen. Thank You
You’ve made the correct changes. Tell me what connections are you using between the esp32 and the display
// BUSY -> 4, RST -> 16, DC -> 17, CS -> SS(5), CLK -> SCK(18), DIN -> MOSI(23), GND -> GND, 3.3V -> 3.3V
OK all looks in order, so there are different display types please post a link to the product you have
OK, looks suitable, so now what ESP32 board are you using link please.
atm i am usig this one: https://www.aliexpress.com/item/1005001413672426.html?spm=a2g0s.9042311.0.0.71f94c4drYlyX1
it works with GxEPD2 exemple scketch, just not with your software.
I managed to make it work by selecting board wemos lolin32 and changing info from own.credentials.h to my wifi/contry/city..... maybe it need all this info for software to run. thanks for help
OK, but the GxEPD2 has been changed a lot, look at the screen initiation section of the 7.5” version and add that line I’ll look it up latter.
display.init(115200, true, 2);
Sou saline it’s running now, I assumed you had set the WiFi ssid and password and API key
Yes it works, i presumed that will ~work without completing info in own.credentials.h, and i was wrong :)
You need to set each line of the credentials, WiFi, country code, location, timezone, then adjust the colours as required.
Hello, Can you please add to code -> 2.9 e-paper b/w/r, this is the one from GxEPD library : GxGDEW029Z10/GxGDEW029Z10.h // 2.9" b/w/r Thank You