pico-examples
pico-examples copied to clipboard
[Bugfix] Refracture of not working `dht.c` Example
Refracture dht.c
Example
- improve functionality
- add constants for:
- Timeout Error
- Checksum Error
- Read OK
This code is adapted to the Pico c files and was mainly taken from here: AM2302-sensor
Tested
Code is tesed on Arduino NANO, ESP8266, and also on Pi Pico