Detect USB is connected on esp32-s2
Posted: Tue May 23, 2023 3:37 pm
How do I detect that the native USB is connected to PC? I use deep sleep and wake up on timer. When the esp32-s2 wakes up I'd like to detect if the USB is connected to the PC.
customer support forums
Code: Select all