Commit graph

5 commits

Author SHA1 Message Date
JustMe-NL
caa4235c75 Fix reverse threshold values
Sliders only support ranges from min to max but the slider visual and the setting to the IMU are reversed.
At the IMU we therefore store 0x7F, which is the maximum possible value, minus the slider value:
0x7F-0x3A = 0x45. So if the minimum IMU value is practically 0x40, the maximum slider value shuld be 0x3F.
We use a non signed variable so we only need to do a sanitycheck on the maximum slider value of 0x3F.
2024-04-27 13:46:36 +02:00
JustMe-NL
b5d7a51d0a Add minimum value of 0x40 to Threshold. 2024-04-27 00:21:48 +02:00
JustMe-NL
d1f3a4592f Added slider to settings gui for adjusting wake up
sensitivity.
2024-04-19 17:36:14 +02:00
KlausMu
17873f50d4 prevent high current during sleep 2024-03-16 21:24:10 +01:00
KlausMu
153535b586 simulator for Windows, WSL2 and Linux 2024-03-10 19:27:46 +01:00