BIGTREETECH-TouchScreenFirmware
BIGTREETECH-TouchScreenFirmware copied to clipboard
Buzzer - No polling
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.~
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.
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.