Line at the top of epaper display with adafruit EPD

I am trying to use a WeAct 2.13" B/W Epaper with SSD1680. Everything seams to work fine except there is a line at the top of the display. using Adafruit KB2040 and Arduino IDE 1.8.19. also tried on teensy 4.1 and waveshare RP2040 zero.



#include "Adafruit_EPD.h"

#define EPD_DC 27
#define EPD_CS 26
#define EPD_BUSY 29
#define EPD_RESET 28
#define EPD_SPI &SPI

Adafruit_SSD1680 display(250, 122, EPD_DC, EPD_RESET, EPD_CS, -1, EPD_BUSY, EPD_SPI);

void setup() {
  Serial.begin(115200);
  display.begin();

  display.clearBuffer();
  display.setCursor(0, 0);
  display.setTextColor(EPD_BLACK);
  display.print("Hello World!");
  display.display();
  delay(5000);
  display.clearBuffer();
}

void loop() {
}

Hi,

this is a known effect with 2.13" 122x250 e-paper panels. 122 is not a multiple of 8.

In GxEPD2 this is handled.
I would assume that it is also handled by Adafruit_SSD1680 for their displays. But it looks like your display is not from Adafruit.
-jz-

dose GxEPD2 have a way of changing the SPI bus?
Adafruit EPD can change the SPI bus with &SPI1

Yes. See example GxEPD2_Example.ino.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.