Merge pull request #243 from recrof/dev

initial support for Elecrow ThinkNode M1
This commit is contained in:
ripplebiz authored and GitHub committed 2025-05-05 13:17:32 +10:00
commit b7c33bc901
10 files changed
+575 -19

No files matched your search

+5 -1
View File
@@ -1,11 +1,15 @@
#include "GxEPDDisplay.h"
#ifndef DISPLAY_ROTATION
#define DISPLAY_ROTATION 3
#endif
bool GxEPDDisplay::begin() {
display.epd2.selectSPI(SPI1, SPISettings(4000000, MSBFIRST, SPI_MODE0));
SPI1.begin();
display.init(115200, true, 2, false);
display.setRotation(3);
display.setRotation(DISPLAY_ROTATION);
#ifdef TECHO_ZOOM
display.setFont(&FreeMono9pt7b);
#endif