Page 1 of 1

There was an issue running gpio example on the ESP32S3

Posted: Wed Nov 01, 2023 8:08 am
by Kaydam
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 1029 times

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

Posted: Thu Nov 02, 2023 5:02 am
by mikemoy
gpio_set_level is expecting a 1 or 0.

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

Posted: Thu Nov 02, 2023 7:09 am
by ok-home
hi

set gpio mode
GPIO_MODE_INPUT_OUTPUT