-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Make startup melody user configurable (#8)
* feat: Initial support for user configurable startup tunes We now support startup tunes of length 64 notes* Each note is a tuple of (number of pulses, pulse duration) i.e (Temp4, Temp3) register values of beep subroutine An array of 128 values is reserved at CSEG 1A70 for this feature The array is configurable via. Bluejay configurator - which does most of the heavy lifting * feat: Add support for Rtttl metadata in startup tunes Reserve the first 4 bytes of Eep_Pgm_Startup_Tune for metadata. This reduces the maximum number of notes to 62, but will make editing experience a lot more plesant as we no longer have to guess tempo to reconstruct the Rtttl. * refactor: Move beep melody code to routine * style: Fix whitespace * fix: Restore melody * chore: Update default startup tune * fix: Guard against invalid melody Co-authored-by: Mathias Rasmussen <[email protected]>
- Loading branch information
1 parent
3022574
commit 3b355fb
Showing
1 changed file
with
98 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters