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

reset USB whilst script is running #410

Open
spriggsy opened this issue Mar 30, 2023 · 0 comments
Open

reset USB whilst script is running #410

spriggsy opened this issue Mar 30, 2023 · 0 comments

Comments

@spriggsy
Copy link

I need to reset my AT32u4 upon certain conditions. this is done by sending a hid command from my android device that halts the watchdog. unfortunately doing it this way breaks the HID communication. is there a way of disabling/stopping the USB library before i reset so that when it restarts it gets re-enumerated by the host?

Ive tried calling RawHID.end() and RawHID.disable()
but it still does not get dropped from windows

Many thanks

Spriggsy

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

1 participant