Merge PWM changes to 0.5.0 release branch #52

Merged
ZAdamMac merged 2 commits from f/pwm-audio into v/0.5.0 2025-02-12 11:03:33 -04:00
ZAdamMac commented 2025-02-12 11:03:23 -04:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No description provided.