I have been using my Arduino Uno board with 18B20 without a problem.
Then I installed Wimos D1 with ESP8266 and the board works fine with the included example sketches.
But when I try to include OneWire and Dallastemperture in the sketch for that board I get the following error:
C:\Users\username\Documents\Arduino\libraries\OneWire\OneWire.cpp:69:20: fatal error: avr/io.h: No such file or directory
Can anyone help me with this problem