331 B
331 B
here is my sweating to get dht11 to work on a rpi pico
it works but if you were to do this you must know things I learned the hard way:
- don't print values live it will mess up with timing and it won't work at all
- initialize the pin as output then when it's time to read make it input, pull up and down doesn't work like output