- Installed Arduino 1.6.11
- Added 8266 Board Manager
- Cloned OneWire lib from GitHub
- Cloned DallasTemp library
- Run oneWireSearch (found device)
- Note the PIN. I mistook GPIO4 for Pin 2
- Modify Dallas "Single" example with DeviceAddress
Serial Monitor:
Requesting temperatures...DONE
Temp C: 26.50 Temp F: 79.70
Requesting temperatures...DONE
Temp C: 28.50 Temp F: 83.30
Requesting temperatures...DONE
Temp C: 29.00 Temp F: 84.20
No comments:
Post a Comment