TheOnePerson
cb678d735a
Merge branch 'main' into auto-fire-long-press
2022-10-26 06:43:47 +02:00
TheOnePerson
cb69a2c181
Add an Alarm face to movement ( #96 )
...
* Add movement_play_alarm_beeps() to movement.c and make alarm sounds customizable. Add alarm indicator to simple watch face.
* Add alarm face
* alarm_face: fix problem with disabling alarms for 00:00.
* Fix typos in comments and get rid of of unused variable warning
* remove unnecessary constant
* simple_clock_face: fix disappearing chime indicator after face switch, enable alarm indicator updates in app loop (for one-time alarms).
movement: handle situations where watch is in sleep mode and chimes fire off at the same time as alarms properly.
* alarm_face: tweak process of displaying things on the lcd. Add extra long and extra short alarms. Increase number of alarm slots to 16.
* alarm face: fix alarms playing one beeping round more than set.
* alarm face: add proper quick cycling of hour and minute setting
* alarm-face: correct am/pm indication and some minor tweaks. Reset movement_config.h to current main branch. simple-watch-face: Remove unnecessary check and swap indicators (alarm / hourly chime)
* alarm-face: reverse commit parts from another branch (accidentially commited logic depending on movement firmware auto firing the long press event)
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2022-10-25 21:57:53 -05:00
TheOnePerson
17cd90e72f
movement: update comments regarding button events
2022-10-25 21:42:29 +02:00
TheOnePerson
6a8269629d
alarm-face: correct am/pm indication and implement some minor tweaks.
2022-10-25 21:28:06 +02:00
joeycastillo
894d3615e9
Merge pull request #103 from wryun/long-press-home-to-settings
...
Long press of mode on home screen goes to settings
2022-10-23 15:07:35 -05:00
joeycastillo
5c1e717034
make this an if/then to please emscripten
2022-10-23 15:05:28 -05:00
joeycastillo
46ac8defdc
disable settings hiding by default
2022-10-23 14:59:57 -05:00
TheOnePerson
cdd9f737e6
alarm face: adjust quick cycling logic to new movement behavior regarding long press event
2022-10-23 13:08:22 +02:00
TheOnePerson
1a80003775
Movement: implement auto firing of long press events and introduce long up event. (Also re-implement alarm_enabled and alarm_note)
2022-10-23 13:07:32 +02:00
joeycastillo
b56c60868e
allow watch faces to schedule tasks from background
2022-10-22 13:16:46 -05:00
Niclas Hoyer
86f34b3653
fix scheduled tasks scheduling another task
2022-10-21 01:10:12 +02:00
David Singleton
dfb928b9d6
Adds a rate meter watchface ( #101 )
2022-10-18 23:30:05 -05:00
James Haggerty
b51f7b6f36
Long press of mode on home screen goes to settings
...
This also changes the default rotation so you don't see the settings
screens.
2022-10-19 10:30:59 +11:00
joeycastillo
1bb656db91
use watch_face_changed property
2022-10-12 00:20:11 -05:00
joeycastillo
f89cecc56a
document return value of watch_face_loop
2022-10-11 23:53:02 -05:00
joeycastillo
957f97ffad
no need to set this (set in movement_move_to_face)
2022-10-11 23:40:19 -05:00
joeycastillo
4de51740fb
don't sleep on watch face change
2022-10-11 23:14:59 -05:00
James Haggerty
79ff361f06
Make long press mode go back to face 0 instead of next face
2022-10-12 13:35:08 +11:00
Joey Castillo
95f2f25ee6
implement stubs to make simulator build happy
2022-10-09 22:58:42 -05:00
Joey Castillo
48160e8a47
restore default watch faces (oops)
2022-10-09 22:54:36 -05:00
Joey Castillo
5bb058f585
add watch face for frequency correction and measurement
2022-10-09 22:50:31 -05:00
Jack Bond-Preston
8b3c02ace5
add support for multiple TOTP keys
2022-08-29 01:28:19 +01:00
Joey Castillo
bcd3b66684
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into lfs
2022-08-02 08:17:26 -06:00
joeycastillo
6d87f5a626
Merge pull request #79 from jackbondpreston/main
...
movement: fix movement_request_wake() prototype
2022-07-25 12:06:05 -04:00
joshber
f120d66a98
Wake Face ( #77 )
...
Co-authored-by: Josh Berson <low.note0488@fastmail.com>
2022-07-25 11:57:12 -04:00
Jack Bond-Preston
b07b548681
movement: fix movement_request_wake() prototype
...
This function has `void` args, currently it can throw a compiler warning
2022-07-25 15:17:02 +01:00
Joey Castillo
b234db74fe
movement: wake programmatically from background and play alarm
2022-07-17 00:23:38 -05:00
Spencer Bywater
6ed757af2b
Adjust probability watch face timeout/LE behavior ( #72 )
...
Display SLEEP instead of timing out
2022-05-22 19:42:37 -04:00
Spencer Bywater
96aaa47c8e
Probability watch face ( #69 )
...
* Initial work on probability watch face
* Complete probability watch face
* Restore default movement_config
* PR feedback: PR watch face title, use arc4random, clean up warnings
* Use rand instead of arc4random when building on emulator
* Accidentally overwrote movement_config
2022-05-18 11:11:34 -04:00
Joey Castillo
3a9dd0df08
unify on 32-bit signed lengths
2022-05-09 21:33:45 -04:00
Joey Castillo
8455bfc9a5
filesystem: only throw errors for negative error codes
2022-05-09 13:17:51 -04:00
Joey Castillo
e71a70d231
add file browser to movement, remove old app
2022-05-09 13:05:37 -04:00
Joey Castillo
22b1ac0283
simulator: add USB serial input field
2022-05-09 13:00:15 -04:00
Joey Castillo
21ee056e26
first pass at filesystem in movement
2022-05-09 12:14:42 -04:00
Joey Castillo
91b436237a
fix warning re: buffer overrun
2022-05-09 12:03:24 -04:00
Joey Castillo
cd40573535
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express
2022-05-02 18:39:45 -05:00
Joey Castillo
e36af0e5a3
movement: only run custom commands at first launch
2022-04-21 15:37:12 -04:00
Joey Castillo
c78b8d4570
deep space firmware: show voyager 1 mission day
2022-04-21 14:33:59 -04:00
Joey Castillo
cedfe72ced
deep space firmware: prepopulate time zones
2022-04-21 13:40:58 -04:00
Joey Castillo
a6024e9fda
stargazer firmware: make LED red by default
2022-04-21 13:40:58 -04:00
Joey Castillo
19dac66a3b
freeze snapshot of standard firmware in alt_fw
2022-04-21 11:26:02 -04:00
Joey Castillo
b0bdf35d8f
add mechanism for building alternate firmware images
2022-04-20 17:21:47 -04:00
Joey Castillo
263e7c6543
add counter face to movement build
2022-04-20 15:48:04 -04:00
Spencer Bywater
949ca2227f
Add break statement for EVENT_TICK in watch_face template ( #64 )
2022-04-20 11:40:55 -04:00
Joey Castillo
4bc4198cc6
Merge branch 'mars-clock'
2022-04-20 08:25:45 -04:00
Joey Castillo
6e9e264c65
rewrite lis2dh logger for lis2dw
2022-04-10 18:13:22 -04:00
Joey Castillo
d91274e782
remove old lis2dh driver
2022-04-10 18:10:49 -04:00
Joey Castillo
35172ce11a
world clock: fix glitch when exiting settings mode
2022-04-10 15:18:36 -04:00
Joey Castillo
7b06d7d6fd
static analysis: make __write static to avoid confusion
2022-04-10 14:51:13 -04:00
Joey Castillo
5cb68923b9
static analysis: use parentheses around binary operators
2022-04-10 14:45:21 -04:00