EspTinyUSB
EspTinyUSB copied to clipboard
HID disconnects unless large delay() used
For some reason, Windows is not seeing a HIDGeneric device unless I put a large (50-100ms) delay() in my loop. Occasionally it will enumerate and immediately disconnect, or simply not be visible at all. This is with an ESP32-S2 feather,
Obviously one of the advantages of HID is the data rate, so this does seem counterproductive.
Actually, it seems that I can't send or receive any data sent through HID Generic. The debug serial monitor shows that it thinks the data is sending, but no software I've tried can read the data, and I get an error when writing HID data to it as well.
Actually, it seems that I can't send or receive any data sent through HID Generic. The debug serial monitor shows that it thinks the data is sending, but no software I've tried can read the data, and I get an error when writing HID data to it as well.
I am having the same issue. And sometimes sending data causes the ESP32-S2 to reboot