Commit Graph

6 Commits

Author SHA1 Message Date
Klemens Schölhorn 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
Klemens Schölhorn 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
Klemens Schölhorn 04d45ec03e Don't show a leading zero for one-digit numbers 2017-11-17 17:49:13 +01:00
Klemens Schölhorn 6b0d42a35f Implement a slowing countdown on button request 2017-11-17 17:48:26 +01:00
Klemens Schölhorn 795d87534f Import the arduino sketch for the random number generation 2017-10-28 21:14:30 +02:00
Klemens Schölhorn 6f7e173610 Import uniform_int_dist.h from gcc 7.1.0/7.2.0 2017-10-28 20:38:33 +02:00