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 8422923 commit 8a60a21Copy full SHA for 8a60a21
1 file changed
src/drivers/Cst816s.cpp
@@ -57,6 +57,10 @@ bool Cst816S::Init() {
57
static constexpr uint8_t irqCtl = 0b01110000;
58
twiMaster.Write(twiAddress, 0xFA, &irqCtl, 1);
59
60
+ // Disable auto-reset after 5s of no gesture
61
+ // The reset kills the current touch point, so paint/pong etc breaks
62
+ twiMaster.Write(twiAddress, 0xFB, 0, 1);
63
+
64
return true;
65
}
66
0 commit comments