@@ -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);
@@ -125,7 +122,7 @@ Buttons.onTouchChange(TOUCHX)
125122```
126123
127124In case you have another enclosure you can change the sensitivity of the pads, 3-100
128- Automatically configured when you set the ` CARRIER_CASE ` boolean , by default is false (sensitivity threshold 4)
125+ Automatically configured when you call ` carrier.withCase() ` , by default is false (sensitivity threshold 4)
129126
130127``` cpp
131128Buttons.updateConfig(int newSens)
@@ -138,7 +135,6 @@ MKRIoTCarrier carrier;
138135
139136void setup (){
140137 Serial.begin(9600);
141- CARRIER_CASE = true/false;
142138 carrier.begin();
143139}
144140
@@ -202,7 +198,6 @@ MKRIoTCarrier carrier;
202198uint32_t myCustomColor = carrier.leds.Color(255 ,100 ,50 );
203199
204200void setup (){
205- CARRIER_CASE = false;
206201 carrier.begin();
207202 carrier.leds.fill(myCustomColor, 0, 5);
208203 carrier.leds.show();
0 commit comments