summaryrefslogtreecommitdiffstats
path: root/movement
diff options
context:
space:
mode:
authorTheOnePerson <a.nebinger@web.de>2023-01-11 21:26:33 +0100
committerGitHub <noreply@github.com>2023-01-11 15:26:33 -0500
commit47812f462d275ff62e3796d4064cdac66772f6c9 (patch)
treef9f21d36c4d88a77c4a28fc8b38780cd574afbae /movement
parentca7e70442930ad24285385291dc98c1437b9881b (diff)
downloadSensor-Watch-47812f462d275ff62e3796d4064cdac66772f6c9.tar.gz
Sensor-Watch-47812f462d275ff62e3796d4064cdac66772f6c9.tar.bz2
Sensor-Watch-47812f462d275ff62e3796d4064cdac66772f6c9.zip
Play sound sequences asynchronously (#122)
* buzzer sequences: first draft, does not work on hardware yet (but in simulator) * buzzer sequences: add changes to movement.c * buzzer sequences: add demo face to Makefile * buzzer sequences: fix problem of interrupted sounds. Add logic for repeating sub sequences. Tidy up (move logic to watch_buzzer files, remove buzzer_demo_face) * buzzer sequences: tidy up even more * buzzer sequences: disable registering a 32 Hz tick callback for watch faces, so it will be used exclusively by the buzzer sequences functionality * buzzer sequences: add callback slot functionality to watch_rtc and make watch_buzzer use it. Switch internal buzzer sequences tick frequency to 64 Hz. Revert changes to movement.c * buzzer sequences: fix parameter sanity check in watch_rtc code * buzzer sequences/watch_rtc: optimize calling tick callbacks in RTC_Handler * buzzer sequences/watch_rtc: fix error in calling callback functions * buzzer sequences: revert changes to watch_rtc logic. Instead, use TC3 as the source for timing the sound sequences. * buzzer sequences: fix frequency of callback * buzzer sequences: integrate changes from PR #162 (set both CCBUF and PERFBUF for correct buzzer tone)
Diffstat (limited to 'movement')
0 files changed, 0 insertions, 0 deletions