summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complications
Commit message (Collapse)AuthorAgeFilesLines
* movement: slight reorganizationJoey Castillo2022-01-2514-1457/+0
|
* movement: move beat time to clock folderJoey Castillo2022-01-252-116/+0
|
* Sensor Watch Simulator (#35)Alexsander Akers2022-01-2510-62/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: add blinky faceJoey Castillo2022-01-232-0/+156
|
* movement: simple UI for entering wearer locationJoey Castillo2022-01-212-15/+192
|
* movement: add time zone conversion in sunrise/sunset faceJoey Castillo2022-01-211-5/+8
|
* Reset selection to 0 on resign from setting stateDavid Keck2022-01-191-0/+1
| | | I believe this also needs to be set back to 0 so the setting screen will resume at minutes, not potentially at settings on next run.
* movement: reset tick to 1 Hz between watch faces (fixes #36)Joey Castillo2022-01-195-8/+4
|
* Changed reset mode to setting instead of waitingDavid Keck2022-01-181-1/+1
| | | After thinking about this, I think it is more intuitive that this would only apply when in setting mode.
* Added ability to reset to default timer valueDavid Keck2022-01-181-1/+8
| | | Added option to reset to the default timer value when in waiting mode and on long press of alarm. This was useful to me as I sometimes accidentally increase the timer value and then would need to loop around to get back to the default value.
* movement: sunrise/sunset face documentationJoey Castillo2022-01-161-2/+2
|
* sunrise/sunset face: no need to update this every secondJoey Castillo2022-01-151-1/+1
|
* Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mainJoey Castillo2022-01-152-0/+286
|\
| * Add Countdown FaceWesley Ellis2022-01-152-0/+286
| | | | | | | | | | | | | | | | A simple countdown face using movement_schedule_background_task so that it rings, even if the another face is active Limited to 99 minutes and 59 seconds so that the watch isn't staying out of deep sleep for too long
* | movement: add sunrise/sunset faceJoey Castillo2022-01-152-0/+200
| |
* | add MIT license text to movement filesJoey Castillo2022-01-154-0/+96
|/
* Movement: give watch faces their index at setup timeJoey Castillo2021-12-2010-10/+15
|
* fix missing prototype warningsJoey Castillo2021-12-101-2/+2
|
* movement: help beats face update the screen less oftenJoey Castillo2021-12-012-2/+22
|
* movement: remove floating point math from beats faceJoey Castillo2021-12-012-15/+15
|
* movement: have beats and TOTP face use new time zone settingJoey Castillo2021-11-252-7/+4
|
* movement: TOTP face, pad code with leading zeroesJoey Castillo2021-11-241-1/+1
|
* movement: make TOTP face go home on timeoutJoey Castillo2021-11-241-1/+1
|
* optimize totp face and add countdownWesley Ellis2021-11-232-84/+35
|
* Add initial TOTP watch face implWesley Ellis2021-11-222-0/+156
| | | | | | | Vendor code from https://github.com/Netthaw/TOTP-MCU to do the heavy lifting of computing SHA-1 and HMAC and the rest of TOTP Also implement a date_time to unix timestamp method
* Add stopwatch face to movementWesley Ellis2021-11-102-0/+102
| | | | | Simple stopwatch that only counts seconds (not subseconds), minutes and yes, even hours
* movement: day one watch face, counts days from birthJoey Castillo2021-11-082-0/+208
|
* beat time: add low energy tick animationJoey Castillo2021-11-071-0/+2
|
* Port beats to movement frameworkWesley Ellis2021-10-232-0/+95
|
* movement settings: add timeout and LED durationJoey Castillo2021-10-191-1/+1
|
* pulsometer: rearrange switch for clarityJoey Castillo2021-10-181-17/+17
|
* add timeout event to give faces a chance to resignJoey Castillo2021-10-181-1/+3
|
* pulsometer: make type more c-likeJoey Castillo2021-10-182-4/+4
|
* pulsometer: reset tick in resign functionJoey Castillo2021-10-181-0/+1
|
* fix misspelling of pulsometerJoey Castillo2021-10-163-31/+31
|
* automatically determine number of watch facesJoey Castillo2021-10-161-7/+7
|
* early work on background tasks, documentationJoey Castillo2021-10-161-0/+1
|
* rename types to be more c-likeJoey Castillo2021-10-162-8/+8
|
* widgets are now watch facesJoey Castillo2021-10-162-0/+111