summaryrefslogtreecommitdiffstats
path: root/watch-library
Commit message (Collapse)AuthorAgeFilesLines
* slcd: lower reference refresh frequency (saves energy)Joey Castillo2022-02-111-1/+1
|
* rtc: disable debouncing on external wake inputsJoey Castillo2022-02-111-3/+0
|
* eic: clock from OSCULP32K for power savingsJoey Castillo2022-02-111-1/+1
|
* simulator: add geolocation supportJoey Castillo2022-02-091-0/+29
|
* utility: add function for formatting a duration in days + HMSJoey Castillo2022-02-062-0/+25
|
* remove debug statementsJoey Castillo2022-02-051-2/+0
|
* Merge branch 'main' of github.com:joeycastillo/Sensor-WatchJoey Castillo2022-02-013-3/+17
|\
| * Merge pull request #43 from a2/rtc-disable-matching-maskjoeycastillo2022-01-273-3/+17
| |\ | | | | | | Add new function to disable certain RTC periodic callbacks
| | * Adjust function semantics by "flipping" bit orderAlexsander Akers2022-01-272-2/+3
| | |
| | * Add new function to disable certain RTC periodic callbacksAlexsander Akers2022-01-273-3/+16
| | |
* | | add function for converting to 12 hour timeJoey Castillo2022-01-312-0/+20
|/ /
* | Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mainJoey Castillo2022-01-279-64/+213
|\|
| * Update main loop to fix reentrancy runtime errorsAlexsander Akers2022-01-276-41/+123
| |
| * Implement buzzer methods with AudioContext APIAlexsander Akers2022-01-274-24/+91
| |
* | spi test: set first 4096 bytes to 0Joey Castillo2022-01-271-0/+2
|/
* add SPI to the indexJoey Castillo2022-01-273-4/+6
|
* implement SPI flash chipJoey Castillo2022-01-266-20/+203
|
* silence compiler warningJoey Castillo2022-01-261-0/+1
|
* watch library: implement SPIJoey Castillo2022-01-266-0/+209
|
* silence compiler warningJoey Castillo2022-01-261-0/+2
|
* Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mainJoey Castillo2022-01-262-22/+23
|\
| * Remove ADC_* defines in favor of hardware-specific mappingAlexsander Akers2022-01-252-22/+23
| |
* | silence compiler warningsJoey Castillo2022-01-261-11/+2
| |
* | watch library: implement UARTJoey Castillo2022-01-264-40/+149
|/
* Sensor Watch Simulator (#35)Alexsander Akers2022-01-25297-318/+1977
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 time zone conversion in sunrise/sunset faceJoey Castillo2022-01-212-0/+16
|
* fix out of bounds access when position != 0Joey Castillo2022-01-191-1/+1
|
* add gettimeofday functionJoey Castillo2022-01-151-0/+12
|
* lis2dw: add low power / low noise modeJoey Castillo2022-01-092-0/+30
|
* set correct registers for range and rateJoey Castillo2022-01-091-4/+4
|
* use lowest power LP modeJoey Castillo2022-01-091-1/+1
|
* shuffle uart pins for new accelerometer boardJoey Castillo2022-01-091-3/+3
|
* start in low power modeJoey Castillo2022-01-091-6/+2
|
* remove unused enumsJoey Castillo2022-01-091-23/+0
|
* add driver, test app for LIS2DW accelerometerJoey Castillo2022-01-082-0/+401
|
* add utility function to check if TCC is enabledJoey Castillo2021-12-212-0/+11
|
* fix missing prototype warningsJoey Castillo2021-12-1029-117/+125
|
* use true random number generator to provide entropyJoey Castillo2021-12-031-0/+32
|
* remove A LOT of dead ASF lcd driver codeJoey Castillo2021-12-024-2750/+0
|
* lis2dh: add support for interrupt latching (stays active until cleared)Joey Castillo2021-12-012-4/+8
|
* lis2dh driver: add support for int2 pinJoey Castillo2021-11-302-0/+20
|
* lis2dh driver: add basic interrupt functionalityJoey Castillo2021-11-302-0/+38
|
* fix (most) external interrupts on the 9-pin connectorJoey Castillo2021-11-304-10/+12
|
* lis2dh driver: make the implicit explicitJoey Castillo2021-11-301-2/+2
|
* more character map edge casesJoey Castillo2021-11-291-7/+31
|
* add LIS2DH accelerometer driver, test appJoey Castillo2021-11-272-0/+303
|
* remove log statements (oops)Joey Castillo2021-11-251-4/+0
|
* utilities: convert unix timestamp to watch_date_timeJoey Castillo2021-11-252-0/+86
|
* movement: implement time zone settingJoey Castillo2021-11-252-1/+6
|
* Fill out watch_utility_convert_to_unix_timeWesley Ellis2021-11-231-2/+28
|