summaryrefslogtreecommitdiffstats
path: root/movement/movement.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into lfsJoey Castillo2022-08-021-12/+31
|\
| * movement: wake programmatically from background and play alarmJoey Castillo2022-07-171-12/+31
| |
* | add file browser to movement, remove old appJoey Castillo2022-05-091-1/+3
| |
* | simulator: add USB serial input fieldJoey Castillo2022-05-091-0/+30
|/
* movement: only run custom commands at first launchJoey Castillo2022-04-211-4/+4
|
* stargazer firmware: make LED red by defaultJoey Castillo2022-04-211-0/+4
|
* freeze snapshot of standard firmware in alt_fwJoey Castillo2022-04-211-1/+1
|
* add mechanism for building alternate firmware imagesJoey Castillo2022-04-201-0/+17
|
* movement: start time zone list at UTCJoey Castillo2022-02-131-42/+41
|
* movement: add mechanism for watch faces to use backup registersJoey Castillo2022-02-131-0/+6
|
* movement: prevent invalid tick frequency from breaking scheduled tasksJoey Castillo2022-02-121-2/+7
|
* Adjust function semantics by "flipping" bit orderAlexsander Akers2022-01-271-1/+1
|
* Add new function to disable certain RTC periodic callbacksAlexsander Akers2022-01-271-7/+1
|
* Sensor Watch Simulator (#35)Alexsander Akers2022-01-251-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* movement: long press on MODE always dismisses the active faceJoey Castillo2022-01-191-0/+5
|
* movement: reset tick to 1 Hz between watch faces (fixes #36)Joey Castillo2022-01-191-0/+1
|
* Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mainJoey Castillo2022-01-151-0/+12
|\
| * Add movement_cancel_background_taskWesley Ellis2022-01-011-0/+12
| | | | | | | | Provide a way for a scheduled background task to be cancelled
* | add MIT license text to movement filesJoey Castillo2022-01-151-0/+24
|/
* Movement: give watch faces their index at setup timeJoey Castillo2021-12-201-1/+1
|
* Movement: allow scheduling precisely timed background tasks (resolves #28)Joey Castillo2021-12-201-0/+36
|
* fix missing prototype warningsJoey Castillo2021-12-101-30/+30
|
* movement: allow watch faces to request zero ticksJoey Castillo2021-12-031-1/+1
|
* movement: add option to always snap back to first watch faceJoey Castillo2021-12-021-1/+8
|
* movement: fix yesterday's bug that was keeping us awakeJoey Castillo2021-11-301-1/+1
|
* movement: add alarm and signal functionsJoey Castillo2021-11-291-3/+38
|
* movement bugfix: prevent repeated timeout events from stalling watch faceJoey Castillo2021-11-291-0/+1
|
* movement: more granular button and LED timing via fast tickJoey Castillo2021-11-291-25/+59
|
* movement: these durations don't need to be 32-bit intsJoey Castillo2021-11-281-1/+1
|
* movement: add world clock faceJoey Castillo2021-11-261-0/+3
|
* movement: store settings in BKUP to persist across resetsJoey Castillo2021-11-251-1/+3
|
* movement: implement time zone settingJoey Castillo2021-11-251-0/+45
|
* bugfix: activate current watch face when waking from sleepJoey Castillo2021-11-081-1/+1
|
* movement: refactor timeout to tick first, then notifyJoey Castillo2021-11-071-6/+10
|
* movement: first crack at background tasks APIJoey Castillo2021-10-231-6/+25
|
* more accurate names for deep sleep and shallow sleep modesJoey Castillo2021-10-201-6/+6
|
* movement: fix preferences glitch, add some notesJoey Castillo2021-10-201-0/+4
|
* movement settings: add timeout and LED durationJoey Castillo2021-10-191-14/+9
|
* movement: remove faster sleep / timeout intervalsJoey Castillo2021-10-181-4/+2
|
* add timeout event to give faces a chance to resignJoey Castillo2021-10-181-3/+12
|
* early work on background tasks, documentationJoey Castillo2021-10-161-2/+2
|
* implement led duration settingJoey Castillo2021-10-161-1/+2
|
* screensaver mode is now low energy modeJoey Castillo2021-10-161-19/+19
|
* clarify property namesJoey Castillo2021-10-161-17/+17
|
* rename types to be more c-likeJoey Castillo2021-10-161-6/+6
|
* widgets are now watch facesJoey Castillo2021-10-161-20/+20
|
* launcher is now movementJoey Castillo2021-10-161-0/+218