Data transfer of 64 bytes to PC within 20ms #3158
Shakthithrisha
started this conversation in
General
Replies: 1 comment
-
You can use GitHub Flavored Markdown to format your posts. In particular use 'triple backtick' |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Pico uses Tiny USB HID Library . I need to call the callback functions tud_hid_get_report_cb via python within 20ms .My python codes uses pywinusb
dev = hid_devices[0]
dev.open()
out_report = dev.find_output_reports()[0]
out_report.set_raw_data(tx_buffer)
out_report.send()
in_report = dev.find_input_reports()[0]
rx_buffer = in_report.get()
I am not able to call one cycle of the above code in 40ms . It is possible to reduce the timing of the cycle to invoke the callback function via python and get response within 20ms
Beta Was this translation helpful? Give feedback.
All reactions