Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
This library provides access to DS18S20 temperature sensors connected via 1-Wire bus to a single GPIO The DS18S20 can run in several modes, with varying degrees of resolution. The highest resolution is 12-bit which provides 0.0625C resolution. 12-bit measurement takes 750ms. With 4 sensors connected, measurement will take 3s. More...
Classes | |
class | DS18S20 |
This class implements access to the DS18x20 range of temperature sensors. More... | |
Macros | |
#define | MAX_SENSORS 4 |
Maximum quantity of sensors to read. More... | |
#define | COPYSCRATCH 0x48 |
#define | READSCRATCH 0xBE |
#define | WRITESCRATCH 0x4E |
#define | RECALLSCRATCH 0xB8 |
#define | READPOWERSUPPLY 0xB4 |
#define | ALARMSEARCH 0xEC |
#define | STARTCONVO 0x44 |
Typedefs | |
typedef Delegate< void()> | DS18S20CompletedDelegate |
Definition of callback function called on completion of measurement of all DS18S20 sensors. More... | |
This library provides access to DS18S20 temperature sensors connected via 1-Wire bus to a single GPIO The DS18S20 can run in several modes, with varying degrees of resolution. The highest resolution is 12-bit which provides 0.0625C resolution. 12-bit measurement takes 750ms. With 4 sensors connected, measurement will take 3s.
#define MAX_SENSORS 4 |
Maximum quantity of sensors to read.
typedef Delegate<void()> DS18S20CompletedDelegate |
Definition of callback function called on completion of measurement of all DS18S20 sensors.