digistump / OakCore

Arduino/Platformio Core for Oak including Particle library
GNU Lesser General Public License v2.1
54 stars 28 forks source link

OneWire.h Library error on ESP 8266 #86

Open ramagandhi opened 6 years ago

ramagandhi commented 6 years ago

When compiling code (modified form of supplied example code DS18x20_Temperature) i get a following error :

_C:\Users\Strevia\Documents\Arduino\libraries\OneWire/OneWire.h:108:2: error: #error "Please define I/O register types here"

error "Please define I/O register types here"

^

Multiple libraries were found for "OneWire.h" Used: C:\Users\Strevia\Documents\Arduino\libraries\OneWire Not used: C:\Program Files (x86)\Arduino\libraries\OneWire exit status 1 Error compiling._

i looked in the OneWire.h on line 108, but i do not know what de board defined as. what should i do? i compile that in WeMos D1 R2 & mini ESP8266