Commit Graph

8 Commits

Author SHA1 Message Date
fe6fe8ea52 Disable led display after 10 seconds to save energy
Going to sleep and waking on an interrupt generated by the button would
save even more energy, but it our current chip unfortunately has problems
waking up reliably.
2018-02-19 23:37:53 +01:00
Hannes Thalheim
3d5387e8cd Implements menu and ability to disable groups 2017-12-01 01:58:15 +01:00
5c74902502 Use the state machines to control the finger
Fixes uint16_t comparisons with millis(), removes DoublePressed state
in button.h.
2017-12-01 00:15:39 +01:00
39fc93059d Add state machines for recognizing different button presses
For now single, double and long presses are supported.
2017-11-17 17:55:32 +01:00
04d45ec03e Don't show a leading zero for one-digit numbers 2017-11-17 17:49:13 +01:00
6b0d42a35f Implement a slowing countdown on button request 2017-11-17 17:48:26 +01:00
795d87534f Import the arduino sketch for the random number generation 2017-10-28 21:14:30 +02:00
6f7e173610 Import uniform_int_dist.h from gcc 7.1.0/7.2.0 2017-10-28 20:38:33 +02:00