I have a problem when try to use GPIO INPUT ONLY pins. I'm using DHT22 to do some tests in Esp32 boards. When I use GPIO normal pins I have correct informatios in serial monitor. But when I use pins INPUT ONLY all informations about temperature and humidity are ZERO. I tryed to use a pullup resistor un data pin, I used digitalread() and nothing.
I have been using ARDUINO IDE.
I did tests with others sensors and had the same problem. Anybody does know what happen?
GPIO INPUT ONLY
Re: GPIO INPUT ONLY
Which pins did you use? Could you post a snippet of your code?
___________________________________________________________________________________________________________________________
Tell me if you knows how to use the Programmer module of Windows Calc and I'm gonna say who you are.
Tell me if you knows how to use the Programmer module of Windows Calc and I'm gonna say who you are.
-
- Posts: 2
- Joined: Fri Aug 17, 2018 10:46 am
Re: GPIO INPUT ONLY
I was reading about sensors and discover that dht22 needs a normal GPIO ( input and output) because this sensor has a pritocol to comunicate with esp32.
Who is online
Users browsing this forum: No registered users and 203 guests