Search found 1 match
- Thu Dec 15, 2022 4:40 am
- Forum: Hardware
- Topic: USB Host example on ESP32-S3-DevKitC-1
- Replies: 9
- Views: 18981
Re: USB Host example on ESP32-S3-DevKitC-1
I did some searching and got the ESP32-S3-USB-OTG device to work by adding this code to enable power on the host USB connector.
gpio_set_direction(12, GPIO_MODE_OUTPUT);
gpio_set_direction(13, GPIO_MODE_OUTPUT);
gpio_set_direction(17, GPIO_MODE_OUTPUT);
gpio_set_direction(18, GPIO_MODE_OUTPUT ...