Error in example file TinyDHT_TestUno.ino
Open
- Dominant language
- C++
- Stars
- 45
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
line 33:
`int16_t t = dht.readTemperature(1);`
Passing a "1" requests temperature in Fahrenheit (versus "0" for Celcius)
line 44:
`Serial.println(" *C");`
But, print statement indicates this is a Celcius value.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the TinyDHT_TestUno.ino example and inspect lines 33 and 44 together. Confirm that the temperature unit requested by readTemperature matches the unit printed in the serial output; done means the example's request and label consistently describe the same unit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100