11 Commits

Author SHA1 Message Date
Joey Castillo
138e91c6ef display glass autodetection 2025-03-08 13:43:11 -05:00
joeycastillo
5b8efa87d7 watch_display_float_with_best_effort: support negative numbers 2024-10-06 11:57:57 -04:00
joeycastillo
996571967f bring in battery voltage face, add new method and demo for displaying floats 2024-09-30 00:24:23 -04:00
joeycastillo
e5b458fe3b blink colon when clock is in sleep mode (custom LCD only) 2024-09-29 15:49:51 -04:00
joeycastillo
4b8b092594 tick_animation is now sleep_animation (which just displays an indicator on new LCD) 2024-09-29 15:24:43 -04:00
joeycastillo
b66f91a0b9 add option for text across the top on custom LCD 2024-09-29 15:24:43 -04:00
joeycastillo
2af976c8c8 clean up const qualifiers in display functions 2024-09-29 13:56:16 -04:00
joeycastillo
9bedee8e54 consistently use _t convention 2024-09-29 07:45:24 -04:00
joeycastillo
9274f532d2 improve API for text display 2024-09-19 08:42:07 -04:00
joeycastillo
9e32cbc523 port SLCD to gossamer, add new string display options 2024-09-18 16:04:55 -04: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