Skip to content

v15 - Tested - #2

Open
howarthcd wants to merge 17 commits into
jejelinge:mainfrom
howarthcd:development
Open

v15 - Tested#2
howarthcd wants to merge 17 commits into
jejelinge:mainfrom
howarthcd:development

Conversation

@howarthcd

Copy link
Copy Markdown

No description provided.

howarthcd added 17 commits March 9, 2025 13:41
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.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant