-
-
Notifications
You must be signed in to change notification settings - Fork 26
Classmap
Martin edited this page Jun 13, 2020
·
1 revision
All models that have a single SPI interface with one controller need to get injected the EpdSpi class
#include <gdew0583t7.h>
#include <Fonts/FreeSerif12pt7b.h> // Optionally include a font from Adafruit GFX
EpdSpi io;
Gdew0583T7 display(io);
void app_main(void)
{
display.init(true); // Activate debug
display.setRotation(0); // Optionally change rotation
display.setFont(&FreeSerif12pt7b);
display.setTextColor(EPD_BLACK);
display.setCursor(10,10); // On rotation 0 will move the cursor to top-left corner
display.println("Hello CalEPD component");
display.update(); // Sends the pixel buffer and refreshes the epaper display
}
The Waveshare 12 inches composite epaper needs to inject a different IO class
#include "wave12i48.h"
Epd4Spi io;
Wave12I48 display(io);
Revision v.1.3 | Firmware for ESP-IDF >= v. 4.3 Documentation written by Fasani Corp.
We are also launching a new company called Marespa.es that will help EU citizens find an affordable apartment in Spain. With the price of Rent going through the roof in 2024, this might be the moment to make an investment, if you plan to work from the spanish coast. With this project we are also supporting our open source projects.