@@ -58,8 +58,6 @@ MKRIoTCarrier carrier;
5858
5959setup (){
6060Serial.begin(9600);
61- //This will adjust the sensitivity of the touch pads, not mandatory to set it, by default is false
62- CARRIER_CASE = false;
6361if(!carrier.begin(){ //It will see any sensor failure
6462 Serial.println("Failure on init");
6563 while(1);
@@ -84,7 +82,6 @@ MKRIoTCarrier carrier;
8482File myFile;
8583
8684setup (){
87- CARRIER_CASE = false;
8885 carrier.begin(); //SD card initialized here
8986
9087 myFile = SD.open("test.txt", FILE_WRITE);
@@ -127,7 +124,7 @@ ButtonX.onTouchChange()
127124```
128125
129126In case you have another enclosure you can change the sensitivity of the pads, 3-100
130- Automatically configured when you set the ` CARRIER_CASE ` boolean , by default is false (sensitivity threshold 4)
127+ Automatically configured when you call ` carrier.withCase() ` , by default is false (sensitivity threshold 4)
131128
132129``` cpp
133130ButtonX.updateConfig(int newSens)
@@ -140,7 +137,6 @@ MKRIoTCarrier carrier;
140137
141138void setup (){
142139 Serial.begin(9600);
143- CARRIER_CASE = true/false;
144140 carrier.begin();
145141}
146142
@@ -204,7 +200,6 @@ MKRIoTCarrier carrier;
204200uint32_t myCustomColor = carrier.leds.Color(255 ,100 ,50 );
205201
206202void setup (){
207- CARRIER_CASE = false;
208203 carrier.begin();
209204 carrier.leds.fill(myCustomColor, 0, 5);
210205 carrier.leds.show();
0 commit comments