/Dallas_DS18B20_SparkCore

Dallas DS18B20 Digital Temperature Sensor

Primary LanguageC++

Spark Core and Dallas DS18B20 Temperature Sensor

Sample application using Spark Core and Dallas DS18B20 Digital Temperature Sensor. The OneWire source code is taken from this link by @tidwelltimj. I just separated this into two classes OneWire and DS18B20. The sample code publish a variable named tmpinfo with temperature value.

Wiring Power to 3.3/5V GND to GND Signal to D2 (with pullup resistor)