How can I fix that? I've been thinking about using INPUT_PULLDOWN instead of INPUT but haven't tried that yet.
(That behaviour also happens if i connect a sensor there. It randomly gets a signal without ever recieving one)
Search found 2 matches
- Sun May 12, 2024 9:21 am
- Forum: Hardware
- Topic: PIN input without connection
- Replies: 3
- Views: 1016
- Sat May 11, 2024 4:34 pm
- Forum: Hardware
- Topic: PIN input without connection
- Replies: 3
- Views: 1016
PIN input without connection
I've been trying to do some basic stuff on ESP32 DevKit v1 but then run into some issues. Input pin reads values even if it's not connected to anything. It doesn't matter which pin i use (I've tried 18,15,12,27,35 and 25) it's still the same. I used this code to test it out: void setup() { Serial.be...