Search found 1 match
- Mon Apr 06, 2020 3:27 pm
- Forum: Hardware
- Topic: Detect if USB is connected
- Replies: 1
- Views: 6617
Detect if USB is connected
Hello, I am using ESP32 WEMOS LOLIN32 board. The project I am developing is using an external battery to run. I am trying to use USB connection only for charging the battery, and to stop the program execution when it is connected. Is there any solution to detect (pin, register, interrupt, etc) if US...