We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024885e commit b666b57Copy full SHA for b666b57
USB_Host_Examples/CircuitPython_Mouse_Basic/code.py
@@ -48,9 +48,9 @@
48
while True:
49
try:
50
# attempt to read data from the mouse
51
- # 10ms timeout, so we don't block long if there
+ # 20ms timeout, so we don't block long if there
52
# is no data
53
- count = mouse.read(0x81, buf, timeout=10)
+ count = mouse.read(0x81, buf, timeout=20)
54
except usb.core.USBTimeoutError:
55
# skip the rest of the loop if there is no data
56
continue
0 commit comments