arduino-C++ code for publishing data from Maxim DS1820 temperature sensors via MQTT
To compile, you'll need the following libraries:
- http://download.milesburton.com/Arduino/MaximTemperature/DallasTemperature_372Beta.zip (Miles Burton's Dallas Temperature Control Library, see also: https://github.com/milesburton/Arduino-Temperature-Control-Library)
- http://www.pjrc.com/teensy/arduino_libraries/OneWire.zip, http://playground.arduino.cc/Learning/OneWire
- https://github.com/knolleary/pubsubclient/tree/master/PubSubClient