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 90e0e27 commit 7995a88Copy full SHA for 7995a88
model/MicroBit.cpp
@@ -122,7 +122,7 @@ MicroBit::MicroBit() :
122
#endif
123
124
// uBit.logo is a Capacitive TouchButton, ensure the io pin is set capacitive as well
125
- io.logo.status |= IO_STATUS_CAPACITATIVE_TOUCH;
+ io.logo.isTouched(TouchMode::Capacitative);
126
127
// Add pullup resisitor to IRQ line (it's floating ACTIVE LO)
128
io.irq1.getDigitalValue();
0 commit comments