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
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
bcd3b66684
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into lfs
2022-08-02 08:17:26 -06:00
Joey Castillo
b234db74fe
movement: wake programmatically from background and play alarm
2022-07-17 00:23:38 -05: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
e36af0e5a3
movement: only run custom commands at first launch
2022-04-21 15:37:12 -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
0bb267c702
movement: start time zone list at UTC
2022-02-13 11:25:28 -05:00
Joey Castillo
96017d6ec1
movement: add mechanism for watch faces to use backup registers
2022-02-13 11:25:28 -05:00
Joey Castillo
b8cb6f3bcf
movement: prevent invalid tick frequency from breaking scheduled tasks
2022-02-12 22:19:01 -05:00
Alexsander Akers
a4cb3c8594
Adjust function semantics by "flipping" bit order
2022-01-27 12:06:06 -05:00
Alexsander Akers
a559d089f1
Add new function to disable certain RTC periodic callbacks
2022-01-27 12:06:06 -05:00
Alexsander Akers
b8de35658f
Sensor Watch Simulator ( #35 )
...
* Put something on screen
* Use the 32bit watch_date_time repr to pass from JS
* Implement periodic callbacks
* Clear display on enabling
* Hook up watch_set_led_color() to SVG (green-only)
* Make debug output full-width
* Remove default Emscripten canvas
* Implement sleep and button clicks
* Fix time zone conversion bug in beats-time app
* Clean up warnings
* Fix pin levels
* Set time zone to browser value (if available)
* Add basic backup data saving
* Silence format specifier warnings in both targets
* Remove unnecessary, copied files
* Use RTC pointer to clear callbacks (if available)
* Use preprocessor define to avoid hardcoding MOVEMENT_NUM_FACES
* Change each face to const preprocessor definition
* Remove Intl.DateTimeFormat usage
* Update shell.html title, header
* Add touch start/end event handlers on SVG buttons
* Update shell.html
* Update folder structure (shared, simulator, hardware under watch-library)
* Tease out shared components from watch_slcd
* Clean up simulator watch_slcd.c inline JS calls
* Fix missing newlines at end of file
* Add simulator warnings (except format, unused-paremter)
* Implement remaining watch_rtc functions
* Fix button bug on mouse down then drag out
* Implement remaining watch_slcd functions
* Link keyboard events to buttons (for keys A, L, M)
* Rewrite event handling (mouse, touch, keyboard) in C
* Set explicit text UTF-8 charset in shell.html
* Address PR comments
* Remove unused directories from include paths
2022-01-25 15:03:22 -05:00
Joey Castillo
99c518e421
movement: long press on MODE always dismisses the active face
2022-01-19 14:32:33 -05:00
Joey Castillo
138b3d0c5e
movement: reset tick to 1 Hz between watch faces ( fixes #36 )
2022-01-19 11:16:10 -05:00
Joey Castillo
5fccc24c98
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
2022-01-15 19:27:24 -05:00
Joey Castillo
41eaa9c1c0
add MIT license text to movement files
2022-01-15 14:53:56 -05:00
Wesley Ellis
37ff7b9c26
Add movement_cancel_background_task
...
Provide a way for a scheduled background task to be cancelled
2022-01-01 14:13:04 -05:00
Joey Castillo
60fe969191
Movement: give watch faces their index at setup time
2021-12-20 17:02:17 -06:00
Joey Castillo
03e107b81a
Movement: allow scheduling precisely timed background tasks ( resolves #28 )
2021-12-20 12:37:11 -06:00
Joey Castillo
762af872d2
fix missing prototype warnings
2021-12-10 12:00:26 -05:00
Joey Castillo
8e2bf8591a
movement: allow watch faces to request zero ticks
2021-12-03 11:30:36 -05:00
Joey Castillo
77d3e5640f
movement: add option to always snap back to first watch face
2021-12-02 15:10:49 -05:00
Joey Castillo
af27750a6d
movement: fix yesterday's bug that was keeping us awake
2021-11-30 10:23:20 -05:00
Joey Castillo
0fb8afda81
movement: add alarm and signal functions
2021-11-29 14:54:13 -05:00
Joey Castillo
7529866267
movement bugfix: prevent repeated timeout events from stalling watch face
2021-11-29 14:04:24 -05:00
Joey Castillo
03fb09f5b4
movement: more granular button and LED timing via fast tick
2021-11-29 10:33:42 -05:00
Joey Castillo
83a9dd8a32
movement: these durations don't need to be 32-bit ints
2021-11-28 17:17:51 -05:00
Joey Castillo
002d368a25
movement: add world clock face
2021-11-26 13:43:47 -05:00
Joey Castillo
b94c0ba65f
movement: store settings in BKUP to persist across resets
2021-11-25 10:39:09 -05:00
Joey Castillo
5c3967aea2
movement: implement time zone setting
2021-11-25 10:36:01 -05:00
Joey Castillo
67d84c6d42
bugfix: activate current watch face when waking from sleep
2021-11-08 07:11:59 -06:00
Joey Castillo
ef40d58afc
movement: refactor timeout to tick first, then notify
2021-11-07 00:29:27 -04:00
Joey Castillo
8475ffcd7a
movement: first crack at background tasks API
2021-10-23 17:55:19 -04:00
Joey Castillo
38a2dff234
more accurate names for deep sleep and shallow sleep modes
2021-10-20 13:45:22 -04:00
Joey Castillo
1020dd7898
movement: fix preferences glitch, add some notes
2021-10-20 10:36:55 -04:00
Joey Castillo
75be621914
movement settings: add timeout and LED duration
2021-10-19 13:46:25 -04:00
Joey Castillo
86d316008c
movement: remove faster sleep / timeout intervals
2021-10-18 13:55:30 -04:00
Joey Castillo
93624f0b69
add timeout event to give faces a chance to resign
2021-10-18 13:55:22 -04:00
Joey Castillo
0cfb37c671
early work on background tasks, documentation
2021-10-16 16:03:52 -04:00
Joey Castillo
69397e9b0f
implement led duration setting
2021-10-16 13:47:42 -04:00
Joey Castillo
3e539a9e63
screensaver mode is now low energy mode
2021-10-16 13:40:17 -04:00
Joey Castillo
8f5de18b94
clarify property names
2021-10-16 13:28:52 -04:00
Joey Castillo
d36331ce4e
rename types to be more c-like
2021-10-16 13:26:23 -04:00