You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to get the status of the pin using digitalRead(pin)
Hardware:
MAC OS 10.13
Arduino IDE 1.8
board: ESP32-C3-DevKitM-1
when I trying to get the status of pin:
int status = digitalRead(pin)
or
digitalWrite(pin, !digitalRead(pin))
Always the return is 0 "LOW" even the pin being HIGH