Skip to content

Lower usb check frequency#17

Open
tpopp wants to merge 1 commit into
Harvey71:masterfrom
tpopp:dev/tpopp/lower-poll-freq
Open

Lower usb check frequency#17
tpopp wants to merge 1 commit into
Harvey71:masterfrom
tpopp:dev/tpopp/lower-poll-freq

Conversation

@tpopp

@tpopp tpopp commented Feb 22, 2025

Copy link
Copy Markdown

This means that the controller might take a few seconds to detect the lightbar but prevents the case of pygame permanently freezing due to excessive pinging.

This means that the controller might take a few seconds to detect the lightbar
but prevents the case of pygame permanently freezing due to excessive pinging.
@tpopp

tpopp commented Feb 22, 2025

Copy link
Copy Markdown
Author

This was the behavior I was seeing. I am using some D1 mini chip with your provided micropython, and a usb-c connection, and the controller software was inoperable and always stuck in the check_usb(). Decreasing the frequency of this check made it perfect for me.

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

Successfully merging this pull request may close these issues.

1 participant