Joey Castillo
ef428bd4e1
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch
2021-12-06 22:47:38 -05:00
Joey Castillo
e3f88d7714
add WIP motion board with LIS2DW
2021-12-06 22:47:23 -05:00
Joey Castillo
c5400e437f
ensure accelerometer test face always stays active
2021-12-05 22:56:09 -06:00
Joey Castillo
eb66b67e8e
more accelerometer tests: track interrupts on each axis, log on the quarter hour
2021-12-05 16:25:41 -06:00
Joey Castillo
bbd394a19a
use true random number generator to provide entropy
2021-12-03 21:12:15 -05:00
Joey Castillo
5a6bf6bfe2
movement: remove testing watch face from config
2021-12-03 19:06:25 -05:00
Joey Castillo
00c1f656d3
add rev 05 board with red/green LED
2021-12-03 11:45:40 -05:00
Joey Castillo
8e2bf8591a
movement: allow watch faces to request zero ticks
2021-12-03 11:30:36 -05:00
Joey Castillo
b8c824419f
remove A LOT of dead ASF lcd driver code
2021-12-02 22:50:47 -05:00
Joey Castillo
25d54101b1
movement: update comment; we store this data now
2021-12-02 15:11:18 -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
8723c70033
movement: fix off-by-one error in accelerometer test face
2021-12-01 18:57:03 -05:00
Joey Castillo
0679d84c03
movement: add experimental accelerometer data logging face
2021-12-01 14:57:06 -05:00
Joey Castillo
2504a922a3
movement: help beats face update the screen less often
2021-12-01 11:30:19 -05:00
Joey Castillo
0f89c11eba
movement: remove floating point math from beats face
2021-12-01 10:43:01 -05:00
Joey Castillo
36be251e89
lis2dh: add support for interrupt latching (stays active until cleared)
2021-12-01 09:41:48 -05:00
Joey Castillo
b60d63f263
movement: after profiling, temp and battery can ignore timeout
2021-12-01 09:25:40 -05:00
Joey Castillo
333c5e8b9e
movement: remove TODO item (we profiled it, it's fine)
2021-12-01 09:07:40 -05:00
Joey Castillo
c3095f7cfe
lis2dh: accelerometer testing face
2021-11-30 20:20:21 -05:00
Joey Castillo
45282f2ef4
lis2dh driver: add support for int2 pin
2021-11-30 20:02:41 -05:00
Joey Castillo
4ae46f907b
lis2dh driver: add basic interrupt functionality
2021-11-30 19:33:49 -05:00
Joey Castillo
48ceef7af3
fix (most) external interrupts on the 9-pin connector
2021-11-30 17:02:42 -05:00
Joey Castillo
473bd1637a
lis2dh driver: make the implicit explicit
2021-11-30 11:55:16 -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
e63dfc95ec
add support for latest board revision
2021-11-29 10:46:53 -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
812c6c2612
more character map edge cases
2021-11-29 10:28:02 -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
c8e21a1957
movemment: tweak capitalization of some settings
2021-11-28 17:16:36 -05:00
Joey Castillo
63448e1028
background tasks have been implemented
2021-11-27 17:00:16 -05:00
Joey Castillo
3a7c73a34e
movement: preferences should show 'blu' for watches with blue LED
2021-11-27 16:48:51 -05:00
Joey Castillo
470544823b
add LIS2DH accelerometer driver, test app
2021-11-27 13:32:33 -05:00
Joey Castillo
002d368a25
movement: add world clock face
2021-11-26 13:43:47 -05:00
Joey Castillo
4a4ab81c6c
remove log statements (oops)
2021-11-25 13:18:10 -05:00
Joey Castillo
ac43c1ca48
utilities: convert unix timestamp to watch_date_time
2021-11-25 11:10:06 -05:00
Joey Castillo
aac7a2a854
movement: have beats and TOTP face use new time zone setting
2021-11-25 10:47:59 -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
joeycastillo
4a71def034
Merge pull request #23 from tahnok/totp
...
Add initial TOTP watch face impl
2021-11-24 12:26:16 -05:00
Joey Castillo
1a1a862d79
movement: TOTP face, pad code with leading zeroes
2021-11-24 12:20:32 -05:00
Joey Castillo
169d4486f9
movement: make TOTP face go home on timeout
2021-11-24 12:18:28 -05:00
Joey Castillo
3a420d5c6c
add header guards, move declarations to source file
2021-11-24 12:14:17 -05:00
Wesley Ellis
4a0ff55773
Properly vendor TOTP-MCU temporarily
2021-11-23 21:40:27 -05:00
Wesley Ellis
121e6fd165
optimize totp face and add countdown
2021-11-23 21:40:27 -05:00
Wesley Ellis
653dd862b8
Fill out watch_utility_convert_to_unix_time
2021-11-23 21:32:25 -05:00
joeycastillo
f9e3dc865d
add stubs for UNIX timestamp conversion
2021-11-23 15:57:18 -05:00
joeycastillo
ad558da328
add stubs for UNIX timestamp conversion
2021-11-23 15:54:12 -05:00
Wesley Ellis
b7ed9adb6c
Add initial TOTP watch face impl
...
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
2021-11-22 21:37:21 -05:00