v15 - Tested - #2
Open
howarthcd wants to merge 17 commits into
Open
Conversation
Modified daylight saving to occur on last Sundays in March and October. Various other changes compared to the original.
- Prevent display switching to time and back when buttons are pressed. - Clear the neopixels correctly. - Removed snooze code for the time being. - Don't update the display colon when the alarm is in progress to avoid gaps in between neopixel updates.
- Rework and re-implement snooze function. - Commented out all audio-related code for troubleshooting. - Added more serial output debugging statements.
Activate sounds.
Modified to get the sounds to work. Use the playMp3Folder function to guarantee which file plays when requested by file number, e.g. not by the order added to the SD card.
Reduced volume. Changed EQ setting to add more bass. Increased snooze length.
Amended actions taken when various combinations of buttons are pressed.
Pause the timer logic when the set/stop button is pressed.
- Made the date display format configurable - supports MMDD or DDMM. - Optimised variable types. - Allowed hard-coded WiFi credentials. If not specified then the config portal will launch. - Removed enableAudio variable, it was only used during testing when waiting for audio board to arrive.
- Prevent a minutes value of 60 or an hours value of 24 being shown briefly when setting the alarm. - Added command to explicitly stop audio before playing next random file during snooze to prevent odd transition sounds.
- Ensure all MP3 files are played at least once without repetition in a given alarm activation.
- Added additional key combination to manually trigger the alarm:
Minute pressed and held, then set/stop button pressed.
- Don't trigger the alarm when setting the alarm.
- Enhanced alarm cancel behaviour.
- Added various Serial.print statements.
- Allowed volume increase past MP3 level 15. - Volume now scaled. Only allows setting of 1-10, but these are multiplied by 3 when setting the volume level, 10 * 3 = 30 which is the max.
Ported latest time keeping code from BTTF logo & clock unit.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.