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

Buzzer - No polling #2846

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kisslorand
Copy link
Contributor

@kisslorand kisslorand commented Sep 27, 2023

Requirements

BTT or MKS TFT

Description

This PR implements buzzer control purely interrupt base. There is no more polling anymore if there is any sound to play or not, everything is done by the interrupt, it's set and forget.

Benefits

  • more consistent sound patterns and no interference with the other tasks
  • a little speed boost for the TFT (do not ask for numbers, it differs across the TFT range)

Related Issues

Implements feature request #2845

Notes

It has been tested on all MCUs involved in this FW. Beeps nicely :)
This PR might be updated with PWM approach if it will prove to be beneficial.

Copy link

stale bot commented Dec 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added Abandoned and removed Abandoned labels Dec 15, 2023
Copy link

This PR has been automatically marked as stale because it has had no activity for the last 60 days. It will be closed in 7 days if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the Stale label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant