Gamepad USB write takes 250ms #365
mdaughtrey
started this conversation in
General
Replies: 1 comment
-
Answering my own question: The 250ms call time happens when nothing on the PC is reading the data. If I hook up a consumer (my driving game or a python script) then the call duration drops to <1ms. So, not actually a problem! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All, and especially Nico for writing such a great library.
I have an SS micro running the gamepad library, reading an optical encoder and a TM1638 board . That all works fine but I'm timing the gamepad.write() call and it's coming in pretty consistently at 250ms, which seems very slow to me. The board is an ATMEGA32u4 running at 16MHz. If it's only supporting USB2.0 low speed that's still 1.5Mbps with a 1ms polling period.
I'm going to keep looking this and maybe try a RPI Pico but any advice would be great.
Thanks
MattD
Beta Was this translation helpful? Give feedback.
All reactions