There was an error while loading. Please reload this page.
1 parent a1b6e9f commit 548a203Copy full SHA for 548a203
1 file changed
boards/lilygo-t-deck/interface.cpp
@@ -173,9 +173,9 @@ void InputHandler(void) {
173
}
174
touched = touch.getPoint(&t.x, &t.y);
175
delay(1);
176
- Wire.requestFrom(LILYGO_KB_SLAVE_ADDRESS, 1);
177
- while (Wire.available() > 0) {
178
- keyValue = Wire.read();
+ Wire1.requestFrom(LILYGO_KB_SLAVE_ADDRESS, 1);
+ while (Wire1.available() > 0) {
+ keyValue = Wire1.read();
179
180
181
if (millis() - tm < 200 && !LongPress) return;
0 commit comments