-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello,
i am trying to figure out how i can write normal text to the 2.13inch (122x250) e-ink v2 screen.
The example sketch with name 'QYEG0213RWS800' works fine. However, this example only prints a static image. I tried integrating the paint class but i could not get it to work properly.
this is my example code:
#include "QYEG0213RWS800.h"
//#include "picture.h"
#include "e_ink_display.h"
#define COLORED 0
#define UNCOLORED 1
void setup() {
Serial.begin(115200);
epd213.EPD_HW_Init(); //Electronic paper initialization
unsigned char image[1024];
Paint paint(image, 122, 250);
paint.DrawStringAt(1, 1, "TEST", &Font24, COLORED);
unsigned char empty[1024] = { 0 };
epd213.EPD_ALL_image(paint.GetImage(),empty); //Refresh the picture in full screen
epd213.EPD_DeepSleep(); //Enter deep sleep
}
This is what is see on the epaper:

Does anybody know how i can solve this?
Metadata
Metadata
Assignees
Labels
No labels