Commit Graph

136 Commits

Author SHA1 Message Date
Arne Glaser
d2164b66b7 catch minus zero deg on DHT22 2021-02-17 09:25:18 +01:00
Arne Glaser
daf4c86055 new temperature deserialistation for DHT22 2021-02-01 13:27:39 +01:00
Dylan Herrada
61ffee54ba
Bump to 1.4.1 2020-12-02 11:37:29 -05:00
Limor "Ladyada" Fried
cfaa202f96
Merge pull request #174 from per1234/fix-nano-33-ble-conditional
Make preprocessor conditional false when identifier undefined
2020-12-01 21:21:34 -05:00
per1234
86115884c7 Make preprocessor conditional false when identifier undefined
A preprocessor conditional directive intended to only evaluate as true when compiling for the Arduino Nano 33 BLE board
was also evaluating as true when compiling for any board that didn't define the compared identifiers because undefined
identifiers are replaced with 0 by the C/C++ preprocessor, making them equal.

From the C++11 standard section 16.1, paragraph 4:

> After all replacements due to macro expansion and the defined unary operator
have been performed, all remaining identifiers and keywords 148 , except for true and false, are replaced
with the pp-number 0

The fix is to modify the directive to check whether the macro has been defined.
2020-12-01 17:53:54 -08:00
Dylan Herrada
b64fe15ad0
Bump to 1.4.0 2020-09-16 14:42:30 -04:00
Limor "Ladyada" Fried
7062b127f0
Merge pull request #167 from tjpetz/missing-nanoble-support
Add missing microsecondsToClockCycles for 33 BLE
2020-09-08 16:34:27 -04:00
Tom Petz
f0a66b0dd3 Adjust comments to comply with doxygen. 2020-09-08 16:12:02 -04:00
Tom Petz
b504fa540e fix extra space and end of line 2020-09-08 14:48:08 -04:00
Tom Petz
fa22bc6ca4 Fix lint errors 2020-09-08 14:41:40 -04:00
Tom Petz
a1f0c1c038 Add missing microsecondsToClockCycles for 33 BLE 2020-09-08 13:57:07 -04:00
dherrada
13d25e6b9a
Bump to 1.3.10 2020-05-26 15:57:06 -04:00
Limor "Ladyada" Fried
8de033bae1
Merge pull request #159 from Rotzbua/patch-1
Fix compiler warning unused parameter...
2020-05-21 12:16:14 -04:00
Rotzbua
a7157aa586
Fix compiler warning unused parameter...
...'count' [-Wunused-parameter]
2020-05-21 18:02:10 +02:00
Limor "Ladyada" Fried
4f841c64b2
Merge pull request #160 from Rotzbua/patch-2
Fix compiler warning: comparison between signed...
2020-05-21 11:58:36 -04:00
Rotzbua
d0a1035985
Fix compiler warning: comparison between signed...
... and unsigned integer expressions [-Wsign-compare]
2020-05-21 14:29:08 +02:00
Rotzbua
7528a843dd
Fix compiler warning: comparison between signed...
... and unsigned integer expressions [-Wsign-compare]
2020-05-21 14:21:00 +02:00
Rotzbua
5ce3bce49c
Fix compiler warning: comparison between signed...
... and unsigned integer expressions [-Wsign-compare]
2020-05-21 06:28:03 +02:00
Rotzbua
44a80e01e6
Fix compiler warning unused parameter...
...'count' [-Wunused-parameter]
2020-05-21 06:19:11 +02:00
Limor "Ladyada" Fried
6a843cb8aa
Merge pull request #155 from adafruit/actionci
actionified, formatted and doxy'd
2020-04-19 12:35:48 -04:00
siddacious
5d60b0d3f0 actionified, formatted and doxy'd 2020-04-08 11:37:24 -07:00
Limor "Ladyada" Fried
428e115b57
Update library.properties 2019-11-02 14:51:31 -04:00
Limor "Ladyada" Fried
db1a7943d4
Merge pull request #144 from AghaSaad04/master
[Documentation]
2019-11-01 14:41:53 -04:00
AghaSaad04
e194e633df Merge branch 'master' of https://github.com/AghaSaad04/DHT-sensor-library 2019-11-01 23:29:06 +05:00
AghaSaad04
3f3b158090 [Fix contributor name and remove version section] 2019-11-01 23:08:43 +05:00
Agha Saad Fraz
1cc7cbcbbe
[Update URL]
Signed-of-by: Agha Saad Fraz <agha.saad04@gmail.com>
2019-11-01 14:41:05 +05:00
AghaSaad04
47854ee87d [Documentation] 2019-11-01 03:26:43 +05:00
Limor "Ladyada" Fried
bcb7767e4f
Update library.properties 2019-07-18 22:39:18 -04:00
ladyada
deafbf4067 oops no quotes? 2019-07-18 16:31:57 -04:00
ladyada
26177dbc71 try adding dep 2019-07-18 16:25:44 -04:00
Limor "Ladyada" Fried
297faa7762
Update README.md 2019-07-18 16:24:12 -04:00
Jan Hoffmann
79baadf4e5
Update library.properties 2019-07-11 10:45:39 +02:00
Limor "Ladyada" Fried
c1a3b9e507
Merge pull request #136 from hoffmannjan/master
doxygen + readme + cleanups
2019-07-04 12:48:48 -04:00
Jan Hoffmann
56262f5b17 travis in readme 2019-07-04 17:34:56 +02:00
Jan Hoffmann
91977b79b8 added travis 2019-07-04 17:30:56 +02:00
Jan Hoffmann
c76d42e280 DHT_U doxygen 2019-07-04 17:28:10 +02:00
Jan Hoffmann
dd455428a0 documented DHT 2019-07-04 17:06:42 +02:00
Jan Hoffmann
f76a51243f
Update library.properties 2019-07-04 12:16:01 +02:00
Jan Hoffmann
30809d2a6c Add .gitignore 2019-07-04 11:31:09 +02:00
siddacious
8e0a94fff3
Merge pull request #130 from matthiasdanner/master
removed double conversion to Celsius
2019-04-17 20:05:17 -07:00
matthiasdanner
6332774b18
removed double conversion to Celsius 2019-04-17 20:01:26 +02:00
Phillip Burgess
f566d58f47 Move ESP8266 yield() out of InterruptLock 2019-02-18 10:20:28 -08:00
Phillip Burgess
9bf12551d8 ESP8266: yield() immediately before & after interrupt disablage 2019-02-14 09:27:28 -08:00
Phillip Burgess
7cec0cb06d Configurable pullup delay time, default 55 usec 2019-02-14 09:24:17 -08:00
Paint Your Dragon
1e752b12ee
Merge pull request #125 from sijskes/master
fixed incorrect values on DHT11 below 0 degrees celcius
2019-02-14 09:03:16 -08:00
Simon IJskes
8b9624479e removed '*' copy error. 2019-02-11 12:33:06 +01:00
Simon IJskes
57fe95c1be split off the DHT11 conversion, corrected the algorithm for temperatures below 0 degrees celsius. 2019-02-08 22:18:10 +01:00
Phillip Burgess
d6488c1fbe Change initial HIGH delay, fix comments in examples 2019-01-28 17:05:54 -08:00
Phillip Burgess
d26e8ec729 Clarified the Unified Sensor Lib requirement in examples & README 2019-01-14 16:35:30 -08:00
Phillip Burgess
b781f5998d Update library.properties 2019-01-11 18:03:31 -08:00