Skip to content

Commit 1ae09e4

Browse files
authored
Merge pull request #29 from Rocketct/master
added control to use higher sensitivity when the carrier is without case
2 parents 59ae00b + e15ad36 commit 1ae09e4

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)