]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
2 years agofix simulator build by declaring Trng type as a void pointer
Alex Maestas [Sun, 17 Dec 2023 22:40:04 +0000 (22:40 +0000)]
fix simulator build by declaring Trng type as a void pointer

2 years agowork around silicon erratum in SUPC/VREG
Alex Maestas [Sun, 17 Dec 2023 17:40:19 +0000 (17:40 +0000)]
work around silicon erratum in SUPC/VREG

2 years agowork around silicon erratum in TRNG
Alex Maestas [Sun, 17 Dec 2023 17:39:59 +0000 (17:39 +0000)]
work around silicon erratum in TRNG

2 years agoMerge pull request #336 from theAlexes/theAlexes/sanitize
Wesley Aptekar-Cassels [Thu, 7 Dec 2023 02:49:58 +0000 (21:49 -0500)]
Merge pull request #336 from theAlexes/theAlexes/sanitize

fix undefined behavior found by clang's sanitize

The compiler isn't completely assured of the possible range of this variable. Probably harmless, but it clears up a clang sanitize error.

2 years agofix undefined behavior found by clang's sanitize
Alex Maestas [Thu, 7 Dec 2023 02:24:26 +0000 (02:24 +0000)]
fix undefined behavior found by clang's sanitize

2 years agoKitchen Conversions Face
PrimmR [Fri, 1 Dec 2023 20:33:38 +0000 (20:33 +0000)]
Kitchen Conversions Face

2 years agoMerge pull request #281 from Kistelini/day_one_face
Wesley Aptekar-Cassels [Tue, 28 Nov 2023 04:24:04 +0000 (23:24 -0500)]
Merge pull request #281 from Kistelini/day_one_face

Improvements for Day One face

2 years agoMerge branch 'main' into day_one_face
Wesley Aptekar-Cassels [Tue, 28 Nov 2023 04:08:28 +0000 (23:08 -0500)]
Merge branch 'main' into day_one_face

2 years agoFix missing documentation for many clock faces:
Alex Utter [Tue, 28 Nov 2023 04:06:19 +0000 (20:06 -0800)]
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.

2 years agoMerge pull request #330 from hchargois/fix-simulator-keyboard-shortcuts
Wesley Aptekar-Cassels [Mon, 20 Nov 2023 02:56:05 +0000 (21:56 -0500)]
Merge pull request #330 from hchargois/fix-simulator-keyboard-shortcuts

Fix simulator keyboard shortcuts

2 years agoSimulator: Add keyboard arrows as buttons shortcuts
Hugo Chargois [Sat, 18 Nov 2023 01:22:03 +0000 (02:22 +0100)]
Simulator: Add keyboard arrows as buttons shortcuts

2 years agoSimulator: Allow sending debug command with Enter
Hugo Chargois [Sat, 18 Nov 2023 01:29:44 +0000 (02:29 +0100)]
Simulator: Allow sending debug command with Enter

2 years agoSimulator: Allow typing a, l & m in console input
Hugo Chargois [Sat, 18 Nov 2023 01:21:23 +0000 (02:21 +0100)]
Simulator: Allow typing a, l & m in console input

These keys are the shortcuts to "press" the alarm, light and mode
buttons. However, they prevent these letters from being input in the
debug console to send filesystem commands. Strangely, there was already
some code to allow typing these letters in the console output, but not
in the input.

2 years agoMerge pull request #305 from ekaitz-zarraga/couch-2-5k
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 16:44:11 +0000 (11:44 -0500)]
Merge pull request #305 from ekaitz-zarraga/couch-2-5k

Add Couch-To-5k training face

2 years agoMerge branch 'main' into couch-2-5k
Ekaitz Zárraga [Sun, 19 Nov 2023 14:36:52 +0000 (15:36 +0100)]
Merge branch 'main' into couch-2-5k

2 years agoResign when the entering LE
Ekaitz Zarraga [Sun, 19 Nov 2023 14:31:56 +0000 (15:31 +0100)]
Resign when the entering LE

2 years agoFit naming conventions
Ekaitz Zarraga [Sun, 19 Nov 2023 14:28:45 +0000 (15:28 +0100)]
Fit naming conventions

2 years agoMerge pull request #308 from BrianBinFL/feat/minute-repeater-decimal-face
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 06:07:31 +0000 (01:07 -0500)]
Merge pull request #308 from BrianBinFL/feat/minute-repeater-decimal-face

Add minute repeater decimal face

2 years agoMerge branch 'main' into feat/minute-repeater-decimal-face
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 05:56:33 +0000 (00:56 -0500)]
Merge branch 'main' into feat/minute-repeater-decimal-face

2 years agoMerge pull request #262 from rieck/timestamp-fix
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 05:10:19 +0000 (00:10 -0500)]
Merge pull request #262 from rieck/timestamp-fix

Fix for incorrect conversion from `watch_date_time` to Unix time.

2 years agoMerge pull request #276 from hchargois/simulator-volume-slider
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 04:17:56 +0000 (23:17 -0500)]
Merge pull request #276 from hchargois/simulator-volume-slider

Simulator volume slider

2 years agoMerge pull request #302 from LtKeks/Sensor-Watch-bugfix-timer_face-datatype
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 04:12:51 +0000 (23:12 -0500)]
Merge pull request #302 from LtKeks/Sensor-Watch-bugfix-timer_face-datatype

timer_face - Possibility to set seconds as default values

2 years agoMerge pull request #270 from perw/tuning_tones
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 04:11:56 +0000 (23:11 -0500)]
Merge pull request #270 from perw/tuning_tones

new face: Tuning tones

2 years agoFix simulator and hardware divergence in callback handling (#252)
Victor Graf [Sun, 19 Nov 2023 04:10:45 +0000 (20:10 -0800)]
Fix simulator and hardware divergence in callback handling (#252)

When using the simulator, I encountered cases where the light would become stuck on, and the watch
would be unresponsive. In particular, this would occur when pressing the light button on the
sunrise sunset watch face.

I appears that this is caused by a divergence in out the callback mask is interpreted by the
hardware interface, and in the simulator in the following function.

void watch_rtc_disable_matching_periodic_callbacks(uint8_t mask)

In particular, a mask of 0xFE is intended to disable all except the 128hz callback at index 0,
but instead disables all except the 1hz callback at index 7 in the simulator.

2 years agoMerge pull request #273 from hchargois/atchar-pos-0
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 04:09:17 +0000 (23:09 -0500)]
Merge pull request #273 from hchargois/atchar-pos-0

Turn on the funky segment of pos 0 for char '@'

2 years agoMerge pull request #267 from navan93/print-memory-percentages
Wesley Aptekar-Cassels [Sun, 19 Nov 2023 04:08:30 +0000 (23:08 -0500)]
Merge pull request #267 from navan93/print-memory-percentages

Print memory percentages

2 years agoImprove simulator page design
Hugo Chargois [Fri, 17 Nov 2023 23:28:54 +0000 (00:28 +0100)]
Improve simulator page design

2 years agoMerge pull request #292 from WesleyAC/error-when-no-color
Jose Castillo [Fri, 17 Nov 2023 17:31:40 +0000 (12:31 -0500)]
Merge pull request #292 from WesleyAC/error-when-no-color

Don't allow building without setting board color.

2 years agoday_one_face: show set date on short alarm button press
Christian Buschau [Tue, 19 Sep 2023 22:55:51 +0000 (00:55 +0200)]
day_one_face: show set date on short alarm button press

2 years agoday_one_face: enable quick cycle through settings
Christian Buschau [Tue, 19 Sep 2023 16:31:56 +0000 (18:31 +0200)]
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.

2 years agoday_one_face: allow years until 2080
Christian Buschau [Tue, 19 Sep 2023 15:53:07 +0000 (17:53 +0200)]
day_one_face: allow years until 2080

This is the same limit introduced in commit 7fd51ca

2 years agoday_one_face: cleanup
Christian Buschau [Tue, 19 Sep 2023 13:21:00 +0000 (15:21 +0200)]
day_one_face: cleanup

2 years agoAdd minute repeater decimal face
Brian Blakley [Tue, 24 Oct 2023 22:20:54 +0000 (18:20 -0400)]
Add minute repeater decimal face

2 years agoAdd sound to pause/resume button
Ekaitz Zarraga [Sat, 21 Oct 2023 13:47:26 +0000 (15:47 +0200)]
Add sound to pause/resume button

2 years agoAdd Couch-To-5k training face
Ekaitz Zarraga [Wed, 18 Oct 2023 21:29:25 +0000 (23:29 +0200)]
Add Couch-To-5k training face

2 years agonew standard firmware for october boards
joeycastillo [Thu, 19 Oct 2023 19:49:27 +0000 (15:49 -0400)]
new standard firmware for october boards

2 years agoUpdate timer_face.c
LtKeks [Sun, 15 Oct 2023 15:35:36 +0000 (17:35 +0200)]
Update timer_face.c

Corrects the data type of the standard values in order to be able to configure seconds as well.

2 years agoSet default board color for GH workflow.
Wesley Aptekar-Cassels [Thu, 5 Oct 2023 16:42:43 +0000 (12:42 -0400)]
Set default board color for GH workflow.

I've chosen blue arbitrarily.

2 years agoDon't allow building without setting board color.
Wesley Aptekar-Cassels [Thu, 28 Sep 2023 22:29:32 +0000 (18:29 -0400)]
Don't allow building without setting board color.

Fixes: #288
2 years agoMerge pull request #283 from neutralinsomniac/fix_hourly_chime_background
Jose Castillo [Sun, 24 Sep 2023 17:06:19 +0000 (13:06 -0400)]
Merge pull request #283 from neutralinsomniac/fix_hourly_chime_background

fix signal tunes not firing in background, and move buzzer disable/enable logic into movement

2 years agouse movement_play_signal for default tune (fixes background signal)
joeycastillo [Sun, 24 Sep 2023 16:41:18 +0000 (12:41 -0400)]
use movement_play_signal for default tune (fixes background signal)

2 years agomove buzzer enabled detection logic into movement for movement_play_signal/tune
Jeremy O'Brien [Sat, 23 Sep 2023 14:54:49 +0000 (10:54 -0400)]
move buzzer enabled detection logic into movement for movement_play_signal/tune

this way watch faces don't have to disable/enable the buzzer themselves
before calling movement_play_signal() and movement_play_tune()

2 years agofix signal tunes not firing in background, and split out foreground/background chime...
Jeremy O'Brien [Fri, 22 Sep 2023 11:29:04 +0000 (07:29 -0400)]
fix signal tunes not firing in background, and split out foreground/background chime functions

2 years agoSave the selected skin of the simulator in local storage
Hugo Chargois [Sat, 16 Sep 2023 00:39:00 +0000 (02:39 +0200)]
Save the selected skin of the simulator in local storage

2 years agoAdd a volume slider in the simulator
Hugo Chargois [Fri, 15 Sep 2023 23:39:52 +0000 (01:39 +0200)]
Add a volume slider in the simulator

2 years agoupdate alternate firmware for new board color
joeycastillo [Wed, 13 Sep 2023 18:08:52 +0000 (14:08 -0400)]
update alternate firmware for new board color

2 years agoadd new COLOR flag
joeycastillo [Wed, 13 Sep 2023 15:39:58 +0000 (11:39 -0400)]
add new COLOR flag

2 years agoTurn on the funky segment of pos 0 for char '@'
Hugo Chargois [Sat, 9 Sep 2023 00:22:08 +0000 (02:22 +0200)]
Turn on the funky segment of pos 0 for char '@'

2 years agonew face: Tuning tones
Per Waagø [Sun, 19 Mar 2023 20:46:21 +0000 (21:46 +0100)]
new face: Tuning tones

Add a new face that plays out tones that can be used as a
reference when tuning musical instruments.

2 years agoPrint memory percentages
Navaneeth Bhardwaj [Sat, 2 Sep 2023 18:47:45 +0000 (00:17 +0530)]
Print memory percentages

this gives better idea of memories used.

2 years agosupport years through 2080
joeycastillo [Sun, 27 Aug 2023 21:53:17 +0000 (17:53 -0400)]
support years through 2080

2 years agodefault year to 2023
joeycastillo [Sun, 27 Aug 2023 21:53:02 +0000 (17:53 -0400)]
default year to 2023

2 years agofinal build of red firmware
joeycastillo [Sun, 27 Aug 2023 21:52:18 +0000 (17:52 -0400)]
final build of red firmware

2 years agoupdate red firmware for shipboards.sh
joeycastillo [Sat, 26 Aug 2023 15:49:18 +0000 (11:49 -0400)]
update red firmware for shipboards.sh

2 years agonew default firmware
joeycastillo [Fri, 25 Aug 2023 18:24:12 +0000 (14:24 -0400)]
new default firmware

2 years agoshow temperature and battery voltage in low energy mode
joeycastillo [Fri, 25 Aug 2023 18:20:00 +0000 (14:20 -0400)]
show temperature and battery voltage in low energy mode

2 years agofinal gerbers
joeycastillo [Fri, 25 Aug 2023 17:41:55 +0000 (13:41 -0400)]
final gerbers

2 years agoadd sensor watch lite
joeycastillo [Thu, 17 Aug 2023 18:25:33 +0000 (14:25 -0400)]
add sensor watch lite

3 years agoFixed incorrect conversion from UNIX timestamp to watch_date_time.
Konrad Rieck [Fri, 11 Aug 2023 20:26:34 +0000 (22:26 +0200)]
Fixed incorrect conversion from UNIX timestamp to watch_date_time.

3 years agoDecimal time face (#260)
mrbrown8 [Sat, 29 Jul 2023 12:10:28 +0000 (06:10 -0600)]
Decimal time face (#260)

* Update movement_faces.h

adding decimal_time_face.h to build

* Decimal Time, a new clock face

This face presents the current time as hours and hundredths of an hour.

* add decimal time to Makefile

3 years agoMerge pull request #253 from Kistelini/counter
Jose Castillo [Sat, 29 Jul 2023 11:48:16 +0000 (07:48 -0400)]
Merge pull request #253 from Kistelini/counter

Counter face: change sound to non-blocking, add option to deactivate sound

3 years agocounter face: move beep_on to watch face state
joeycastillo [Sat, 29 Jul 2023 11:43:51 +0000 (07:43 -0400)]
counter face: move beep_on to watch face state

3 years agoMerge pull request #258 from analogist/nanosec-fix-profbounds
Jose Castillo [Sat, 29 Jul 2023 11:30:40 +0000 (07:30 -0400)]
Merge pull request #258 from analogist/nanosec-fix-profbounds

fix nanosec_face correction_profile bounds from going negative

3 years agoFix lengthBytesUTF8 not a function (#255)
austenadler [Sat, 29 Jul 2023 11:25:27 +0000 (11:25 +0000)]
Fix lengthBytesUTF8 not a function (#255)

* Add lengthBytesUTF8 as an exported runtime method

* Also export printErr as a runtime method

---------

Co-authored-by: Austen Adler <agadler@austenadler.com>
3 years agoWyoscan .5 hz watchface (#256)
Willy Hardy [Sat, 29 Jul 2023 11:22:42 +0000 (07:22 -0400)]
Wyoscan .5 hz watchface (#256)

* initial wyoscan commit

* initial attempt at animation

* kinda working

* visually working but running out of memory

* slower

* little fixes

* add hardware watch blink function

* refine number animation

* remove movement from config for merging

* silence warnings

---------

Co-authored-by: Willy Hardy <whardy@redhat.com>
3 years agosilence warnings
joeycastillo [Sat, 29 Jul 2023 11:03:49 +0000 (07:03 -0400)]
silence warnings

3 years agoprep for red boards
joeycastillo [Sat, 29 Jul 2023 11:01:19 +0000 (07:01 -0400)]
prep for red boards

3 years agofix settings/nanosec correction_profile bounds
James Wu [Thu, 20 Jul 2023 00:27:37 +0000 (00:27 +0000)]
fix settings/nanosec correction_profile bounds

3 years agoCounter face: change sound to non-blocking, add option to deactivate sound
Hein-NonesensE [Sat, 28 Jan 2023 21:32:08 +0000 (22:32 +0100)]
Counter face: change sound to non-blocking, add option to deactivate sound

3 years agoadd basic flashlight function
joeycastillo [Thu, 29 Jun 2023 20:17:19 +0000 (16:17 -0400)]
add basic flashlight function

3 years agoMerge pull request #248 from TheOnePerson/simple-watch-bin-led
Jose Castillo [Sat, 10 Jun 2023 15:58:23 +0000 (11:58 -0400)]
Merge pull request #248 from TheOnePerson/simple-watch-bin-led

simple watch binary light: show current time by flashing the LED as binary code

3 years agomovement: add custom hourly chime tunes (#209)
Jeremy O'Brien [Sat, 10 Jun 2023 15:55:09 +0000 (11:55 -0400)]
movement: add custom hourly chime tunes (#209)

* movement: add custom hourly chime tunes

* slightly tweak note timings

* add kim possible ringtone

3 years agosimple watch bin led: add functionality of representing the current time as binary...
TheOnePerson [Sun, 21 May 2023 06:34:02 +0000 (08:34 +0200)]
simple watch bin led: add functionality of representing the current time as binary code LED flashing.

3 years agogeomancy.c warnings fix (#240)
randogoth [Thu, 18 May 2023 11:44:50 +0000 (14:44 +0300)]
geomancy.c warnings fix (#240)

3 years agoMerge pull request #247 from TheOnePerson/timer-face
Jose Castillo [Thu, 18 May 2023 11:43:39 +0000 (07:43 -0400)]
Merge pull request #247 from TheOnePerson/timer-face

Timer face: fix error with repeating timers

3 years agotimer face: fix problem with messed up durations for repeating timers / always beep...
TheOnePerson [Thu, 18 May 2023 11:10:32 +0000 (13:10 +0200)]
timer face: fix problem with messed up durations for repeating timers / always beep when starting a timer

3 years agoMerge branch 'main' into timer-face
TheOnePerson [Thu, 18 May 2023 07:42:13 +0000 (09:42 +0200)]
Merge branch 'main' into timer-face

# Conflicts:
# movement/make/Makefile
# movement/movement_faces.h

3 years agorename folder for cross-platform compatibility
joeycastillo [Sun, 14 May 2023 14:41:02 +0000 (10:41 -0400)]
rename folder for cross-platform compatibility

3 years agoMerge pull request #238 from joeycastillo/randonaut-and-geomancy
joeycastillo [Tue, 18 Apr 2023 01:34:56 +0000 (21:34 -0400)]
Merge pull request #238 from joeycastillo/randonaut-and-geomancy

Randonaut and geomancy

3 years agoMerge pull request #239 from randogoth/randonaut-and-geomancy
joeycastillo [Tue, 18 Apr 2023 01:16:08 +0000 (21:16 -0400)]
Merge pull request #239 from randogoth/randonaut-and-geomancy

deobfuscated code, fixed warnings

3 years agodeobfuscated code, fixed warnings
randogoth [Sun, 16 Apr 2023 18:54:26 +0000 (21:54 +0300)]
deobfuscated code, fixed warnings

3 years agofix most warnings
joeycastillo [Sun, 16 Apr 2023 15:06:11 +0000 (11:06 -0400)]
fix most warnings

3 years agoRandonaut Watch Face (#233)
randogoth [Sun, 16 Apr 2023 14:29:42 +0000 (15:29 +0100)]
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

3 years agoCoin & Dice Toss & Geomantic Divination Watch Faces (#235)
randogoth [Sun, 16 Apr 2023 14:16:10 +0000 (15:16 +0100)]
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>
3 years agosilence warnings around morsecalc
joeycastillo [Sun, 16 Apr 2023 14:56:08 +0000 (10:56 -0400)]
silence warnings around morsecalc

3 years agosilence most warnings
joeycastillo [Sun, 16 Apr 2023 14:49:03 +0000 (10:49 -0400)]
silence most warnings

3 years agoRevert "Coin & Dice Toss & Geomantic Divination Watch Faces (#235)"
joeycastillo [Sun, 16 Apr 2023 14:46:52 +0000 (10:46 -0400)]
Revert "Coin & Dice Toss & Geomantic Divination Watch Faces (#235)"

This reverts commit 34030bf3e403b2043dcd9f960189d93190dcbb0c.

3 years agoRevert "Randonaut Watch Face (#233)"
joeycastillo [Sun, 16 Apr 2023 14:46:44 +0000 (10:46 -0400)]
Revert "Randonaut Watch Face (#233)"

This reverts commit a3fe36f6dbdbde331fb7c10138e4b0c3fa8ad298.

3 years agoMerge branch 'main' of https://github.com/joeycastillo/Sensor-Watch
joeycastillo [Sun, 16 Apr 2023 14:37:14 +0000 (10:37 -0400)]
Merge branch 'main' of https://github.com/joeycastillo/Sensor-Watch

3 years agoreturn movement_config to standard list of watch faces
joeycastillo [Sun, 16 Apr 2023 14:30:49 +0000 (10:30 -0400)]
return movement_config to standard list of watch faces

3 years agoRandonaut Watch Face (#233)
randogoth [Sun, 16 Apr 2023 14:29:42 +0000 (15:29 +0100)]
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

3 years agoCoin & Dice Toss & Geomantic Divination Watch Faces (#235)
randogoth [Sun, 16 Apr 2023 14:16:10 +0000 (15:16 +0100)]
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>
3 years agoDual Timer, a variant of the Stock Stopwatch (#236)
randogoth [Sun, 16 Apr 2023 14:13:51 +0000 (15:13 +0100)]
Dual Timer, a variant of the Stock Stopwatch (#236)

* 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

* init

* dual chronograph

* documented and cleaned up

* unused var warning fix

* swap TC2 with TC3 to avoid conflict

* conflict

* show active when returning to face

* docu

* removed unneeded file

* added remain

* show screen on startup

* simplified mode button

3 years agoPlanetary Hours Faces (#234)
randogoth [Sun, 16 Apr 2023 14:13:21 +0000 (15:13 +0100)]
Planetary Hours Faces (#234)

* initial setup & test

* simplified solar calulcation function

* Initial Release

* initial setup

* UTC offset fixes

* finished and cleaned up

* renamed faces

* optimizations & astro symbols

* wrapping ruler

* cleanup

* optimizations

* merged latest place_face

* documentation

* fixed faster seconds

* removed place_face from branch

* reset config

---------

Co-authored-by: NN Solex <info@sublunar.space>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoAperture priority light meter face (#230)
Christian Chapman [Sun, 16 Apr 2023 14:05:55 +0000 (10:05 -0400)]
Aperture priority light meter face (#230)

* initial commit, added opt3001 light meter test app

* tested working light meter board, i2c communication still has issues

* fixed i2c; rudimentary lightmeter works!

* added aperture priority ui

* added aperture priority ui

* added README

* adjusted cal

* fixed bugs (HI shutter speed, lux mode toggle)

* made it possible to advance to the next face

* initialized lux variable

* lowered tolerance for HI and LO

* Changed EV display from always showing EV100 to showing EV[iso setting]

* dont display old ev when ISO changes

* changed mode and light behavior

* updated readme

* fixed indentation

* made lightmeter display logic more consistent

* made lightmeter display logic more consistent

* reverted rules.mk (for merge into upstream)

* reverted rules.mk (for merge into upstream)

* removed OPT3001 PCB model

* made lux mode default, corrected timeout behavior

---------

Co-authored-by: Christian Chapman <user@debian>
3 years agoAdding Breathing complication (#220)
Bernd Plontsch [Sun, 16 Apr 2023 14:04:46 +0000 (23:04 +0900)]
Adding Breathing complication (#220)

* Added complication

* Including complication in build configuration

* Clean up

* restore default watch face selection

* Fixed comment

* Remove unused

* Made functions internal

---------

Co-authored-by: Bernd Plontsch <bernd@plontsch@gmail.com>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoMorsecalc refactor (#229)
Christian Chapman [Sun, 16 Apr 2023 14:01:03 +0000 (10:01 -0400)]
Morsecalc refactor (#229)

* Added Morse code based RPN calculator

* added manual and memory register

* fixed morsecalc negative indicator, edited header comment

* adjusted stack display controls

* Fixed warnings. Added calculator token aliasing ability. Added binary shorthand for numeral entry. Extended morse code binary tree.

* ui tweaks

* Update movement_config.h

* silence warning

* Reorganized codebase and simplified morse code reading routines.

* added 'quit if submission is empty' behavior

* reverted rules.mk change for merge into main

* corrected timeout behavior

* consolidated morsecode lib into one file; deleted old mc.c mc.h

* consolidated morsecode lib into one file; deleted old mc.c mc.h

* removed specious null in morsecode bintree string

---------

Co-authored-by: Christian Chapman <user@debian>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoadd LIS2DW accelerometer board
joeycastillo [Fri, 14 Apr 2023 00:57:08 +0000 (20:57 -0400)]
add LIS2DW accelerometer board

3 years agoadd kicad stuff to gitignore
joeycastillo [Fri, 14 Apr 2023 00:55:53 +0000 (20:55 -0400)]
add kicad stuff to gitignore

3 years agoorganize sensor watch accessory boards
joeycastillo [Fri, 14 Apr 2023 00:53:53 +0000 (20:53 -0400)]
organize sensor watch accessory boards