We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22265e7 commit de6bda2Copy full SHA for de6bda2
variants/sensebox_eye/APOTA.bin
-144 Bytes
variants/sensebox_eye/APOTA.ino
@@ -101,21 +101,13 @@ void setBootPartitionToOTA0() {
101
}
102
103
void setupDisplay() {
104
- Serial.println("checking display connection...");
105
Wire.begin(PIN_QWIIC_SDA,PIN_QWIIC_SCL);
106
displayEnabled = Wire.requestFrom(0x3D, 1); // Check if the display is connected
107
if (displayEnabled) {
108
- delay(1000);
109
- Serial.println("Display found!");
110
display.begin(SSD1306_SWITCHCAPVCC, 0x3D);
111
display.display();
112
delay(100);
113
display.clearDisplay();
114
- } else {
115
- while(true) {
116
- Serial.println("Display not found!");
117
118
- }
119
120
121
0 commit comments