Skip to content

Commit e15ad36

Browse files
committed
added control to use higher sensitivity when the carrier is without case
1 parent 59ae00b commit e15ad36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Arduino_MKRIoTCarrier.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ int MKRIoTCarrier::begin() {
3636
display.setRotation(2);
3737
display.fillScreen(ST77XX_BLACK);
3838

39+
if (!CARRIER_CASE) {
40+
Buttons.updateConfig(200);
41+
}
42+
3943
Buttons.begin(); //init buttons
4044

4145
//init LEDs

0 commit comments

Comments
 (0)