joeycastillo / Sensor-Watch

A board replacement for the classic Casio F-91W wristwatch
Other
1.3k stars 250 forks source link

add accelerometer interrupt counter #452

Closed joeycastillo closed 2 months ago

joeycastillo commented 3 months ago

In preparation for Sensor Watch Pro and the accelerometer add-on, this PR adds a simple watch face for counting accelerometer interrupts. You can set the threshold with a long press on the ALARM button; this shows up as a number from 0 to 63, in which each increment represents 0.125 G. Defaults to 10, which results in an interrupt whenever the acceleration on any axis exceeds ± 1.25 G.