pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

[Bugfix] Refracture of not working `dht.c` Example

Open hasenradball opened this issue 1 year ago • 40 comments

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

Screeshot

2023-11-29-223802_1920x1200_scrot

hasenradball avatar Nov 29 '23 21:11 hasenradball