I am using the Thing Dev board. I’d like to read the DS18B20 temperature probes via the one wire interface. Here is a sketch that won’t compile:
#include <OneWire.h>
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println(“Hello”);
}
Here is the compiler error I get:
In file included from C:\my_sketches\test_thing_with_onewire\test_thing_with_onewire.ino:1:
C:\Users\george\Documents\Arduino\libraries\OneWire/OneWire.h:108:2: error: #error “Please define I/O register types here”
108 | #error “Please define I/O register types here”
| ^~~~~
exit status 1
Error compiling for board SparkFun ESP8266 Thing Dev.
I’m stuck. Maybe SparkFun has their own one-wire library that I have to use with the Thing. Please advise.