mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-21 10:28:04 +00:00
2fdd901639
* feat(hwcdc): fix delay Fixes delay when CDC is disconnected. At this time is only fixes it when USB cable is unplugged. * feat(hwcdc): fix delay fixes delay when CDC is not connected. It was only considering when the USB cable was not plugged. * feat(hwcdc): add 2 methods Adds 2 new methods: - isPlugged() will return true when USB cable is plugged, false otherwise. - isConnected() will return true when USB CDC is connected to a application in the USB Host side and communication is stablished. * feat(hwcdc): adjusts APIs Fixes the example to use the new added APIs for checking if USB cable is plugged and for checking if CDC is connected. * fixes api declaration * fixes API declaration |
||
---|---|---|
.. | ||
examples | ||
src | ||
keywords.txt | ||
library.properties |