Hi Jean-Marc,
Thanks for takling time to assist!
I try to be as complete as possible, hope you can pinpoint the issue
The 2.13 (3-color) device is
2.13inch E-Paper HAT (B), 250x122, Red/Black/White, SPI Interface (waveshare.com) - on the box X002MZUGXN
The 2.7 (2-color) device is
264x176, 2.7inch E-Ink display HAT for Raspberry Pi, SPI interface | WF10190CZ22 (waveshare.com) - on the box B07PKSZ3XK
I'm using an Arduino Uno R3 on Windows 11 Arduino IDE 2.2.1
GxEDP2 Library v1.5.5
In both cases i run this sketch GxEPD2/examples/GxEPD2_Example at master ยท ZinggJM/GxEPD2 (github.com)
#define GxEPD2_DISPLAY_CLASS GxEPD2_3C
for 3 color display
#define GxEPD2_DRIVER_CLASS GxEPD2_213_Z98c // GDEY0213Z98 122x250, SSD1680, (FPC-A002 20.04.08)
only 213 with 122x250 pixels
Connections as per suggestion checked multiple times
// mapping suggestion for AVR, UNO, NANO etc.
BUSY -> 7,
ST -> 9,
DC -> 8,
CS-> 10,
CLK -> 13,
DIN -> 11
Serial Monitor:
setup
pages = 10 page height = 25
setup
pages = 10 page height = 25
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 16
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 12
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_Update_Part : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
setup done
The display flashes several times, it is doing some partial updates, turns black but is for the rest showing only garbage. End display contains random black, white and red pixels.
For the 2.7 I changed the following lines in the GxEPD2_display_selection_new_style.h
#define GxEPD2_DISPLAY_CLASS GxEPD2_BW
#define GxEPD2_DRIVER_CLASS GxEPD2_270 // GDEW027W3 176x264, EK79652 (IL91874), (WFI0190CZ22)
Connections as per your wiring examples:
// mapping suggestion for AVR, UNO, NANO etc.
BUSY -> 7,
RST -> 9,
DC -> 8,
CS-> 10,
CLK -> 13,
DIN -> 11
It runs through the sketch without errors, but nothing happens on the screen
(I enabled some of the Serial.print so I can follow what should be displayed)
= 8 page height = 36
setup
pages = 8 page height = 36
helloWorld
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
helloWorld done
helloFullScreenPartialMode
_PowerOn : 8
refresh : 8
helloFullScreenPartialMode done
helloArduino
refresh : 8
helloArduino done
helloEpaper
refresh : 8
helloEpaper done
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
helloWorld
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
helloWorld done
_PowerOn : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 8
refresh : 12
refresh : 8
_PowerOff : 8
deepSleepTest
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOn : 8
_Update_Full : 8
_PowerOff : 8
_PowerOff : 8
deepSleepTest done
setup done