Go Down

Topic: DS18B20 sensor error (Read 50 times) previous topic - next topic


Aug 15, 2017, 07:29 pm Last Edit: Aug 15, 2017, 08:01 pm by DanielDantas
IDE Arduino 1.6.0 - Board: Intel Galileo Gen 2

I'm trying to use the temperature sensor but I'm receiving these errors:
" C:\Users\Daniel Dantas\Documents\Arduino\libraries\OneWire/OneWire.h:108:2: error: #error "Please define I/O register types here"

C:\Users\Daniel Dantas\Documents\Arduino\libraries\OneWire/OneWire.h:115:5: error: 'IO_REG_TYPE' does not name a type

C:\Users\Daniel Dantas\Documents\Arduino\libraries\OneWire/OneWire.h:116:14: error: 'IO_REG_TYPE' does not name a type

Erro compilando."

The code and libraries that I'm using is from this site:


Please post your sketch so we can see.  I suspect you don't have the proper #include for the OneWire and DallasTemperature libraries.


Go Up