Skip to content

Esp32-c3 digitalRead(pin) always return 0 "LOW" #5467

@vanderareosa

Description

@vanderareosa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions