There was an issue running gpio example on the ESP32S3

Kaydam
Posts: 2
Joined: Wed Nov 01, 2023 8:02 am

There was an issue running gpio example on the ESP32S3

Postby Kaydam » Wed Nov 01, 2023 8:08 am

I just added two print commands to the code and found that the GPIO level was not changed.
屏幕截图 2023-11-01 160426.png
屏幕截图 2023-11-01 160426.png (77.82 KiB) Viewed 1032 times

mikemoy
Posts: 626
Joined: Fri Jan 12, 2018 9:10 pm

Re: There was an issue running gpio example on the ESP32S3

Postby mikemoy » Thu Nov 02, 2023 5:02 am

gpio_set_level is expecting a 1 or 0.

User avatar
ok-home
Posts: 78
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

Re: There was an issue running gpio example on the ESP32S3

Postby ok-home » Thu Nov 02, 2023 7:09 am

hi

set gpio mode
GPIO_MODE_INPUT_OUTPUT

Who is online

Users browsing this forum: MicroController and 103 guests