Commit Graph

8 Commits

Author SHA1 Message Date
Johny Mattsson d2ac5f1712 Changed os_intr_xxx to ets_intr_xxx.
The os_intr_xxx macros no longer exist in the SDK.
2015-10-12 13:26:04 +11:00
vowstar 75c3cf29c2 Disable interrupts while communicating with DHTxx. 2015-06-20 02:08:20 +08:00
vowstar cda7992c1a Fix DHTLIB bug of DHT22, DHT21, DHT33, DHT44. 2015-06-20 00:26:59 +08:00
vowstar c56659e84d Using __attribute__((alias("dht_read"))) reduce code size. 2015-06-19 01:05:19 +08:00
vowstar 87341547d7 Update DHTlib, supported DHT11 or DHTxx automatic detection.
Using @MarsTechHAN 's method.
New usage:
status, temp, humi, tempdec, humidec = dht.read( id )
print( dht.read( id ) )
= dht.read( id )
2015-06-18 20:53:52 +08:00
vowstar af56aea1e8 Update dhtlib api, support both integer and float version. 2015-06-18 17:19:55 +08:00
vowstar 899935e60b Add DHT Lua Module for interfacing with the DHTxx sensors (xx = 11-21-22-33-44). 2015-06-18 16:31:40 +08:00
vowstar 515a7bf1ab Add dhtlib for DHT11/21/22/33/44, port from Arduino. 2015-06-17 16:30:12 +08:00