Feb-06-2021, 08:42 PM
(Feb-05-2021, 11:07 PM)Larz60+ Wrote: using the pinout diagram here: https://pi4j.com/1.2/pins/model-2b-rev1.html
diagram shows pin7 as GPIO 7, not GPIO 4
It's difficult to know what information you can trust. I used the pinout from https://pinout.xyz/# and it differs from the one you mentioned. I changed the IO number now to 4 but it's the same. I also tried running the DHT11 off 5V and 3.3 but it makes no difference.