Commit Graph

1253 Commits

Author SHA1 Message Date
dccad01e8f first build of Second Movement with two watch faces 2024-09-18 18:22:33 -04:00
24598ec280 restore buzzer sequence functionality 2024-09-18 18:21:35 -04:00
66f7a8802e remove dependency on Atmel HRI in storage module 2024-09-18 17:44:14 -04:00
d0ca6a025a bring in deep sleep / external wake functions 2024-09-18 17:37:20 -04:00
c02c89c880 clean up location of buzzer functions, notes 2024-09-18 17:25:41 -04:00
422cea8ff6 simpler USB CDC with gossamer / yield (no need for TC0/TC1) 2024-09-18 17:14:06 -04:00
da11c14684 use gossamer GPIO calls here 2024-09-18 17:13:11 -04:00
2bbd78a99d remove ASF calls for TRNG 2024-09-18 17:09:20 -04:00
7ee3eeac49 clean up location of some private functions 2024-09-18 17:05:10 -04:00
38b4efe42d bump gossamer commit 2024-09-18 16:53:27 -04:00
6706452353 port ADC functions to gossamer 2024-09-18 16:10:12 -04:00
9e32cbc523 port SLCD to gossamer, add new string display options 2024-09-18 16:04:55 -04:00
ac88e2de8c port external interrupts to gossamer framework 2024-09-18 15:29:31 -04:00
f5435d468d use #pragma once 2024-09-18 15:12:58 -04:00
29d6ce42f1 bring in RTC functionality 2024-09-18 15:06:38 -04:00
0585a1d0d8 consolidate buzzer and LED into TCC file 2024-09-18 14:53:46 -04:00
29f020e207 port buzzer and LED functions to gossamer framework 2024-09-18 14:47:53 -04:00
5ba64844e2 port GPIO functions to new framework 2024-09-18 14:33:07 -04:00
c02132a68f bump submodules 2024-09-18 14:22:16 -04:00
02f7469400 remove ASF code, config 2024-09-18 13:56:49 -04:00
9f73677883 let's begin 2024-09-18 13:47:35 -04:00
0a82d16d4e remove watch_app 2024-09-18 13:19:52 -04:00
4f3fa45cbf remove old rules, build rules 2024-09-18 13:14:00 -04:00
9784128ca4 update Doxygen for Second Movement 2024-09-18 13:04:43 -04:00
aaa3b55c67 rename test app to app.c for clarity 2024-09-18 12:52:43 -04:00
70637cae75 disable simulator build 2024-09-18 09:50:00 -04:00
b9c9ec071a point build action to new target 2024-09-18 09:40:18 -04:00
f7cf2a6c4d minimal blinky sketch 2024-09-18 08:56:47 -04:00
063fe96ef2 add gossamer submodule 2024-09-18 08:08:45 -04:00
629e58d13b fork Sensor-Watch to second-movement; remove non-Movement related files 2024-09-18 08:07:06 -04:00
e8f31beb70 Smallchess face (#272)
* smallchess face

* use correct game-state modifying board move function

* make show last work after undo

* use SCL_Game->ply instead of board[ply_byte]

* beep when cpu is done computing a move

* increase engine strength to ply 3

* match ply type and use the local variable where available

* fix warnings

* add doc to smallchess face

* smallchess: fix compile warnings

* smallchess: move smallchesslib.h to movement/lib
2024-09-17 22:36:34 -04:00
c2103d9eaa silence warnings in butterfly_game_face 2024-09-17 22:27:43 -04:00
88338dc0ba silence warnings in wareki_face 2024-09-17 22:19:22 -04:00
e8ba597131 Add Butterfly game face (#338) 2024-09-17 22:04:00 -04:00
52c3d5b796 add wareki_face for japanese user (#351) 2024-09-17 22:00:44 -04:00
7af5626147 Add min/max temperature watch face (#335) 2024-09-17 21:54:33 -04:00
b2d313e0e7 Metronome Complication (#303)
* Metronome Complication

A simple metronome complication that allows user to set BPM, toggle sound, and set counts per measure.

* silence warnings in metronome_face

* avoid mode button in metronome settings, other tweaks

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2024-09-17 21:46:20 -04:00
0f5defe789 Face for tracking the menstrual cycle (#250)
Authored-by: jokomo <jokomo@parallels-ubuntu18.04>
2024-09-17 20:55:50 -04:00
3634460a02 silence warning in beeps_face 2024-09-17 20:46:00 -04:00
fc2f9c5130 add accelerometer interrupt counter (#452) 2024-09-17 20:38:09 -04:00
bf4d461d8c Merge branch 'next' - new faces before the freeze
Merge the next branch containing numerous new sensor watch faces
as well as some new features. Not all of them made it in the end
and we even had to revert improvements merged in last next due to
issues that weren't found during testing. Still, I am very proud
to be merging in and closing over 20 pull requests.

I believe the project is in the best possible shape it can be
before the movement 2.0 refactor.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: David Volovskiy <devolov@gmail.com>
Tested-on-hardware-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/469
2024-09-17 17:36:40 -03:00
fe9a0a693d Revert PR #268 - add daylight savings time toggle
The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.

This reverts commit 5a8a49a8c7, reversing
changes made to bfadb81e82.
2024-09-17 17:28:41 -03:00
30267dfc0c Revert PR #470 - fixes world_clock2 face
The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.

This reverts commit 3c86a42aa8, reversing
changes made to be969c4deb.
2024-09-17 17:28:41 -03:00
a9d503b807 Revert PR #470 - implement automatic DST toggling
The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.

This reverts commit ac5bf8cfce, reversing
changes made to 5a8a49a8c7.
2024-09-17 17:28:32 -03:00
683032219e Revert PR #471 - add DST to sunrise/sunset
The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.

This reverts commit 0cc28b9811, reversing
changes made to 337864eb54.
2024-09-17 17:02:16 -03:00
ea5efb4d82 faces/clock: clear segments if not in 024h mode
There was an issue where the clock's display would remain in 024h mode
even after switching back to 12h/24h mode because it only took into
account the leading zero bit, whose value is meaningless unless the
24h mode bit is also set.

The issue is fixed by taking both bits into account.

Closes #476.

Reported-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476
2024-09-16 15:54:09 -03:00
f2479bee4f faces/simple_clock: clear segments if not in 024h
There was an issue where the simple clock's display would remain in
024h mode even after switching back to 12h/24h mode because it only
took into account the leading zero bit, whose value is meaningless
unless the 24h mode bit is also set.

The issue is fixed by taking both bits into account.

Closes #476.

Reported-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476
2024-09-16 15:53:48 -03:00
831aadddea faces/alarm: use snprintf formats for 24h and 024h
This ensures that the display is always in a consistent state.

Reported-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476
2024-09-16 15:19:08 -03:00
5926e81d25 faces/alarm: fix 24h indication in 024h mode
The watch was not indicating to the user that it was in 24h mode
when set to the leading zero 024h time format. This could lead
to ambiguity and confusion, so make sure to indicate 24h mode.

Closes #476.

Reported-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476
2024-09-16 14:42:43 -03:00
035fff52da Revert merge of PR #437 - debouncing logic
This reverts commit a715265af6, reversing
changes made to 9c093f9540.

Insidious issues were found in the course of long term testing
by the community, and further reviews of the code were not enough
to pinpoint the issue and fix it. So for now the appropriate action
is to revert these changes while development continues, and possibly
merge them back in once they have been stabilized.

Tested-on-hardware-by: David Volovskiy <devolov@gmail.com>
Tested-on-hardware-by: CarpeNoctem <cryptomax@pm.me>
Tested-on-hardware-by: Krzysztof Gałka <@kshysztof@Discord>
2024-09-15 21:10:10 -03:00