Matheus Afonso Martins Moreira
66796805ac
Merge branch 'advanced-pulsometer' into advanced
...
Implements an advanced pulsometer that can be calibrated by the user.
Also features a streamlined and responsive user interface,
new documentation and generally improved code.
Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/371
2024-03-08 06:54:50 -03:00
Matheus Afonso Martins Moreira
7208df1dfb
Merge branch 'moon-phase-face-long-press-reset'
...
Makes a long press of the ALARM button reset the face to current day.
Reviewed-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-by: Wesley Aptekar-Cassels <me@wesleyac.com>
Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/316
2024-03-08 06:52:49 -03:00
Matheus Afonso Martins Moreira
592e18bf0e
Merge branch 'silicon-errata' into advanced
...
Implements the recommended workarounds for numerous silicon errata,
reducing power consumption and preventing freezes and hard faults.
Tested-by: Alex Maestas <git@se30.xyz>
Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-on-hardware-by: Alex Maestas <git@se30.xyz>
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Reviewed-by: Wesley Aptekar-Cassels <me@wesleyac.com>
Reviewed-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/340
GitHub-Related-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/361
GitHub-Related-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/359
Reference: https://ww1.microchip.com/downloads/aemDocuments/documents/MCU32/ProductDocuments/Errata/SAM-L22-Family-Silicon-Errata-and-Data-Sheet-Clarification-DS80000782.pdf
2024-03-08 06:50:16 -03:00
Matheus Afonso Martins Moreira
a4ee7dd7fc
Merge 'fix-sunrise-sunset-uninitialized'
...
Fixes a crash due to use of uninitialized buffer when setting location.
Reported-by: eshrh <esrh@gatech.edu>
Fixed-by: Wesley Aptekar-Cassels <me@wesleyac.com>
Reviewed-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/329
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/198
Fixes: https://github.com/joeycastillo/Sensor-Watch/issues/198
2024-03-08 06:49:18 -03:00
Matheus Afonso Martins Moreira
fb3b96c8b7
faces/pulsometer: remember pulsometer measurement
...
Avoid resetting it to zero when the face is activated.
Initialize the variables once when the face is first set up.
This makes it remember the last measurement taken by the user.
It will no longer be overwritten when the watch face activates.
2024-03-05 04:41:58 -03:00
Matheus Afonso Martins Moreira
e1b1493894
faces/pulsometer: remember pulsometer calibration
...
Avoid resetting it to default when the face is activated.
Set the default pulsometer calibration once,
only when the face is first set up.
This makes it remember the calibration set by the user.
It will no longer overwrite it.
2024-03-05 04:14:10 -03:00
Matheus Afonso Martins Moreira
30ebf4743e
faces/pulsometer: move structure definition
...
Instances of the pulsometer state structure are only passed
to the pulsometer itself and only via the opaque context pointer.
No other code uses it. There is no need to expose it in a header file
so make it an implementation detail of the watch face.
2024-02-24 05:17:56 -03:00
Matheus Afonso Martins Moreira
4d77273238
faces/pulsometer: update copyrights and credits
...
Update the copyrights to include full name attribution to all
who contributed to the pulsometer watch face, including myself.
Also add an SPDX license identifier header comment to the files.
2024-02-24 05:17:43 -03:00
Matheus Afonso Martins Moreira
4b67ef56c6
faces/pulsometer: document the advanced pulsometer
...
Thoroughly document the new advanced pulsometer watch face
by describing what it is and how it works.
2024-02-24 05:17:43 -03:00
Matheus Afonso Martins Moreira
ea47bf9f22
faces/pulsometer: implement advanced pulsometer
...
Implements an advanced pulsometer that can be recalibrated by the user.
The main clock face now displays the measured pulses per minute.
The day of month digits now display the pulsometer calibration.
The light button now cycles through integer graduations
which now range from 1 to 39 pulses per minute.
Long presses of the light button cycle by 10 instead of 1.
The watch face's responsiveness to input has been carefully optimized.
The code has been reorganized and generally improved.
2024-02-24 05:17:43 -03:00
Alex Maestas
83a0e4e992
annotate TRNG erratum, address review comment
2024-01-22 00:39:18 +00:00
Wesley Aptekar-Cassels
f16ce6a767
Merge branch 'main' into watch-face-simple-coin-flip
2024-01-21 02:01:27 -05:00
Wesley Aptekar-Cassels
29784983b5
Merge branch 'main' into watch-face-solstice
2024-01-21 01:58:20 -05:00
Pietro F. Maggi
8e0e942573
Handle visibility for tomato watchface
...
(cherry picked from commit 547e8248ba3538693ee8c587a92ffece7b40d1a2)
2024-01-07 12:43:18 +01:00
Alex Maestas
89e86fe629
work around silicon erratum in TRNG
2023-12-17 17:39:59 +00:00
PrimmR
1b90a4a07a
Kitchen Conversions Face
2023-12-01 15:33:38 -05:00
Wesley Aptekar-Cassels
a2f1ba9171
Merge branch 'main' into day_one_face
2023-11-27 23:08:28 -05:00
Alex Utter
7802994854
Fix missing documentation for many clock faces:
...
* Move from .c to .h as needed for consistency.
* When missing from both, copy from pull request or wiki.
* When missing entirely, infer functionality from source code.
2023-11-27 23:06:19 -05:00
Ekaitz Zárraga
735bbc97d7
Merge branch 'main' into couch-2-5k
2023-11-19 15:36:52 +01:00
Ekaitz Zarraga
f77ddc83b8
Resign when the entering LE
2023-11-19 15:31:56 +01:00
Ekaitz Zarraga
30c8da7f55
Fit naming conventions
2023-11-19 15:28:45 +01:00
Wesley Aptekar-Cassels
1f6409a71c
sunrise_sunset_face: Fix use of uninitialized memory.
...
This was causing a crash in the simulator when setting the location.
Fixes : #198
2023-11-18 23:53:24 -05:00
Wesley Aptekar-Cassels
3b9fd8b0e9
Merge pull request #302 from LtKeks/Sensor-Watch-bugfix-timer_face-datatype
...
timer_face - Possibility to set seconds as default values
2023-11-18 23:12:51 -05:00
Christian Buschau
984990fb66
day_one_face: show set date on short alarm button press
2023-11-17 09:11:18 +01:00
Christian Buschau
e8b7985dde
day_one_face: enable quick cycle through settings
...
This allows the alarm button to be held down in the date settings and
quickly cycle through the dates instead of having to push for each
single increment like in other faces.
2023-11-17 09:11:18 +01:00
Christian Buschau
1022359252
day_one_face: allow years until 2080
...
This is the same limit introduced in commit 7fd51ca
2023-11-17 09:11:18 +01:00
Christian Buschau
8c7e9fa558
day_one_face: cleanup
2023-11-17 09:11:16 +01:00
Wesley Aptekar-Cassels
73f689e65a
Add simple_coin_flip_face.
2023-11-08 19:29:56 -05:00
Wesley Aptekar-Cassels
dcf167a8bf
Add solstice_face.
2023-11-06 18:01:44 -05:00
Wesley Aptekar-Cassels
fc8c1fc726
moon_phase_face: Make alarm long-press reset to current day.
2023-11-03 06:34:31 -04:00
Ekaitz Zarraga
d3d76ed0e7
Add sound to pause/resume button
2023-10-21 15:47:26 +02:00
Ekaitz Zarraga
cde6ae3598
Add Couch-To-5k training face
2023-10-21 01:30:03 +02:00
LtKeks
ad846f5060
Update timer_face.c
...
Corrects the data type of the standard values in order to be able to configure seconds as well.
2023-10-15 17:35:36 +02:00
Per Waagø
9e88f37ced
new face: Tuning tones
...
Add a new face that plays out tones that can be used as a
reference when tuning musical instruments.
2023-09-06 21:46:31 +02:00
Jose Castillo
07f150fbec
Merge pull request #253 from Kistelini/counter
...
Counter face: change sound to non-blocking, add option to deactivate sound
2023-07-29 07:48:16 -04:00
joeycastillo
e5dcc9d1b7
counter face: move beep_on to watch face state
2023-07-29 07:43:51 -04:00
joeycastillo
1377d36622
silence warnings
2023-07-29 07:03:49 -04:00
Hein-NonesensE
ed8149a759
Counter face: change sound to non-blocking, add option to deactivate sound
2023-07-04 17:02:31 +02:00
joeycastillo
b49259e4e0
add basic flashlight function
2023-06-29 16:17:19 -04:00
randogoth
d348482759
geomancy.c warnings fix ( #240 )
2023-05-18 07:44:50 -04:00
TheOnePerson
45d9b97f07
timer face: fix problem with messed up durations for repeating timers / always beep when starting a timer
2023-05-18 13:10:32 +02:00
randogoth
432de34709
deobfuscated code, fixed warnings
2023-04-16 21:54:26 +03:00
joeycastillo
00541bd9c5
fix most warnings
2023-04-16 11:06:11 -04:00
randogoth
c4da02ca2c
Randonaut Watch Face ( #233 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* original README
* updated place_face
* fallback to register location
* removed pointless freq req
* reset config
* fixed dependency issue
* minor bugfixes
* saved a bit :)
* fix
2023-04-16 11:00:44 -04:00
randogoth
721887de3a
Coin & Dice Toss & Geomantic Divination Watch Faces ( #235 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* init
* basic functions
* all needed static functions done
* progress
* coins and dice done
* progress
* place update
* divination faces functionality done
* better divine_bit
* figure numbers and names
* captions optional
* coin animation
* dice animation & optimizations
* animation
* changed names, documented
* bugfix
* cleanup
* reset config
---------
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2023-04-16 11:00:08 -04:00
joeycastillo
bfeca93008
silence warnings around morsecalc
2023-04-16 10:56:08 -04:00
joeycastillo
e083f9b386
silence most warnings
2023-04-16 10:49:03 -04:00
joeycastillo
eb71681779
Revert "Coin & Dice Toss & Geomantic Divination Watch Faces ( #235 )"
...
This reverts commit 34030bf3e403b2043dcd9f960189d93190dcbb0c.
2023-04-16 10:46:52 -04:00
joeycastillo
00e641c2a7
Revert "Randonaut Watch Face ( #233 )"
...
This reverts commit a3fe36f6dbdbde331fb7c10138e4b0c3fa8ad298.
2023-04-16 10:46:44 -04:00
randogoth
a3fe36f6db
Randonaut Watch Face ( #233 )
...
* init
* advanced latlon setting
* simple functionality done
* lat lon high precision fwd bwd
* edit toggle
* added readme for branch
* DD DMS conversion & cleanup
* DD to OLC conversion
* olc encoding & decoding
* OLC implementation
* swapped bools for modes, code cleanup
* place name editor
* updated button logic, fixed display
* load and save places in state array
* todo list
* simplified OLC functions
* geohash conversion functions
* geohash display & digit functions
* todo
* finished geohash implementation
* code display function, defaults, bugfixes
* read/write file/reg logic
* long light in DATA to cancel
* write to registry
* todo
* read & write backup register
* file read/write
* todo
* new more concise button logic, optimizations
* todo
* renamed & cleaned up, fixed button logic
* documentation
* documentation
* LAP mode for all coordinate screens
* faster and more precise geohash algorithm
* updated description
* updated docu
* simple place face
* bugfixes, updated documentation
* init
* meh
* added public functions for OLC and Geohash
* randonauting face
* fix
* display fix
* cleanup
* bugfixes
* bugfix
* added place
* fixed TRNG call
* fixed declaration conflict
* modulo bias filter
* simplified things, chance RNG selection
* fixed button logic, better menus
* cleanup
* documentation
* docu fixes
* original README
* updated place_face
* fallback to register location
* removed pointless freq req
* reset config
* fixed dependency issue
* minor bugfixes
* saved a bit :)
* fix
2023-04-16 10:29:42 -04:00