Merge PWM changes to 0.5.0 release branch #52
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zadammac/PETI!52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "f/pwm-audio"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This merges the PWM audio primitive change to the main development branch for 0.5.0.
This change is non-breaking to existing scenes or other elements which reference AUDIO_pulse.
Timer B0 is now used to generate PWM signals on P3.4, which previously was simply brought high to drive the piezo buzer. This is sufficient to both power the existing buzzer and deliver a fixed-pitch PWM audio signal to the new speaker that is coming in hardware revision D.
Timer A2 is now used to control the length of individual notes.
The service manual was updated to say that this function is scheduled for deprecation but fully compatible with both hardware versions.