We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f526597 commit 283b170Copy full SHA for 283b170
bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino
@@ -10,6 +10,7 @@ DallasTemperature sensors(&oneWire);
10
void setup() {
11
auto cfg = M5.config();
12
M5.begin(cfg);
13
+ pinMode(ONE_WIRE_BUS, INPUT);
14
Serial.begin(4800);
15
sensors.begin();
16
int count = sensors.getDeviceCount();
0 commit comments