Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrent HID Instructions - Any Issues? #683

Open
ByteBo opened this issue Nov 15, 2023 · 1 comment
Open

Concurrent HID Instructions - Any Issues? #683

ByteBo opened this issue Nov 15, 2023 · 1 comment

Comments

@ByteBo
Copy link

ByteBo commented Nov 15, 2023

Quick question: can I fire off multiple HID commands at once? If so --- what's the deal with conflicts? Any examples?

Also, any rules about how quick I can write these instructions? Like, is there a minimum interval?

Cheers for any help, you lot do a stellar job!

@todbot
Copy link
Owner

todbot commented Nov 15, 2023

Could you describe more about what you're trying to accomplish and why you're asking about HID commands on the blink1 repo?

If you're asking is there a limit to how fast USB HID operations can happen, then yes, there is OS- and HID-determined limits. Typically this is a HID packet every one millisecond frame for full-speed USB devices and a HID packet every 10 milliseconds for low-speed USB devices.

If you're asking about how fast blink(1) can receive data, it is a low-speed USB device and thus has that low-speed limit of one packet per 10 milliseconds. If you're not asking about blink(1), this perhaps you'd have better luck asking on the hidapi repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants