Commit graph

18 commits

Author SHA1 Message Date
Thomas Kolb d4194d9942 Fix time extension below 10 minutes 2024-06-22 20:24:44 +02:00
Thomas Kolb 6859168de6 Fix doubling of remaining time 2024-05-20 20:06:06 +02:00
Thomas Kolb c9b70b29f8 Improve display of large hour times 2024-05-20 14:26:27 +02:00
Thomas Kolb c1b0c2322d Tune animation and brightness 2024-05-19 21:46:16 +02:00
Thomas Kolb c82a54b06c sseg: add support for PWM per segment 2024-05-19 21:31:47 +02:00
Thomas Kolb 455118882b Prevent to rapid time increment after turn-on 2024-05-19 20:35:14 +02:00
Thomas Kolb deca973854 Various fixes for the main state machine 2024-05-18 00:16:22 +02:00
Thomas Kolb 0d3ca18885 pinout: swap On and Off buttons 2024-05-18 00:16:08 +02:00
Thomas Kolb d95248866b buzzer: ensure PWM is enabled on the output pin 2024-05-18 00:15:22 +02:00
Thomas Kolb 8b0b03e0ee buttons: fix state detection 2024-05-18 00:08:37 +02:00
Thomas Kolb f89d7561ac sseg: fix code for F and add N 2024-05-18 00:07:55 +02:00
Thomas Kolb 0de66a4f7b Complete the countdown state machine 2024-05-16 21:22:16 +02:00
Thomas Kolb 7d36e71923 WIP: started implementing the countdown state machine 2024-05-15 22:07:53 +02:00
Thomas Kolb 0c95a27a3f Define button pins 2024-05-15 22:07:09 +02:00
Thomas Kolb 02f622996c sseg: added support for 'O' and 'F' 2024-05-15 22:06:23 +02:00
Thomas Kolb 3e9526a916 Added modules for buttons and buzzer 2024-05-15 22:05:57 +02:00
Thomas Kolb 75d3582ac7 Save some power 2024-05-10 21:34:15 +02:00
Thomas Kolb a4e935692a Initial commit: most infrastructure already done
- 7-segment display controlled via PIO and DMA
- buzzer works with PWM
- millisecond trigger interrupt works
2024-05-09 23:56:32 +02:00