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

Calling microphone.sound_level once keeps the microphone LED on #175

Open
microbit-carlos opened this issue Mar 25, 2024 · 2 comments
Open
Assignees
Milestone

Comments

@microbit-carlos
Copy link
Contributor

microbit-carlos commented Mar 25, 2024

Described in: #175 (comment)

@dpgeorge
Copy link
Collaborator

When calling microphone.sound_level(), the code should not register a listener on the CODAL message bus. That's not required and is keeping the microphone LED on.

@dpgeorge dpgeorge self-assigned this Mar 25, 2024
@microbit-carlos
Copy link
Contributor Author

Yes, the CODAL_STREAM_IDLE_TIMEOUT_MS was implemented in lancaster-university/codal-core@a1e1db6 and it's currently set to 75 ms: lancaster-university/codal-core/inc/core/CodalConfig.h#L224

@microbit-carlos microbit-carlos added this to the 2.2.0-beta.2 milestone Mar 26, 2024
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