Skip to content

Commit 283b170

Browse files
authored
Update bbn_m5atomS3_lite_DS18B20.ino
1 parent f526597 commit 283b170

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ DallasTemperature sensors(&oneWire);
1010
void setup() {
1111
auto cfg = M5.config();
1212
M5.begin(cfg);
13+
pinMode(ONE_WIRE_BUS, INPUT);
1314
Serial.begin(4800);
1415
sensors.begin();
1516
int count = sensors.getDeviceCount();

0 commit comments

Comments
 (0)