This commit is contained in:
2024-07-15 11:49:44 -04:00
parent fea1ce02f4
commit 83bd93cf6e
2 changed files with 11 additions and 2 deletions

View File

@@ -42,8 +42,8 @@
#define SCL_PIN 4
#define SDA_PIN 6
GxIO_Class io(SPI, /* CS=SS=5 */ SS, /* DC=1 */ 3, /* RST=2 */ 2);
GxEPD_Class display(io, 2, 7);//, CS_PIN, DC_PIN, RST_PIN, BUSY_PIN);
GxIO_Class io(SPI, /* CS=SS=5 */ SS, /* DC=1 */ 21, /* RST=2 */ 9);
GxEPD_Class display(io, /*RST */ 9, /* BUSY */ 7);//, CS_PIN, DC_PIN, RST_PIN, BUSY_PIN);
/*

View File

@@ -50,6 +50,7 @@ void TaskSensorValuesCode (void* parameters) {
}
void setup() {
sleep(2);
Serial.begin(115200);
Serial.println();
/*
@@ -108,6 +109,14 @@ void loop() {
Serial.println("Loop");
Serial.print("SS = ");
Serial.println(SS);
Serial.print("MOSI = ");
Serial.println(MOSI);
Serial.print("MISO = ");
Serial.println(MISO);
Serial.print("SCK = ");
Serial.println(SCK);
Serial.print("BUSY = ");
Serial.println(BUSY_PIN);
sleep(1);
}