Commit Graph

40 Commits

Author SHA1 Message Date
hxd cba331b939 refactoring of timing constants 2025-07-18 20:31:23 +01:00
hxd 56f2738ea2 use timer to update display and read keyboard 2025-07-18 20:31:23 +01:00
hxd 1f961964f0 use B compare match register to trigger interrupt 2025-07-18 20:31:23 +01:00
hxd 7b524aaae2 trigger LED on timer 2025-07-18 20:31:23 +01:00
hxd 8c27acbf50 initial setup to use interrupts for I/O 2025-07-18 20:31:23 +01:00
hxd ef97c334b5 zero latency debounce 2025-07-18 20:31:23 +01:00
hxd d69c3eb56d binary segment representation 2025-07-18 20:31:23 +01:00
hxd 46cb2886f2 show stack depth 2025-07-18 20:31:23 +01:00
hxd 82fed85229 refactor show 2025-07-18 20:31:23 +01:00
hxd 59a001b94c new segment state 2025-07-18 20:31:23 +01:00
hxd ca52fa9b14 error display with -E- 2025-07-18 20:31:23 +01:00
hxd ae4e558b52 auto enter on full entry 2025-07-18 20:31:23 +01:00
hxd a60df862f4 display single segment prompt 2025-07-18 20:31:23 +01:00
hxd 0655fb2724 better error handling and debugging 2025-07-18 20:31:23 +01:00
hxd 321ae584bf transient state keeps calculator state 2025-07-18 20:31:23 +01:00
hxd f4dde687cf factored out transition state 2025-07-18 20:31:23 +01:00
hxd 86b4b227bf deeper stack support and state refactoring 2025-07-18 20:31:23 +01:00
hxd d3fcb507a0 result state, prompts, and error display handling 2025-07-18 20:31:23 +01:00
hxd 804964cb8d factored out panic file 2025-07-18 20:31:23 +01:00
hxd 918c4c122e factored out display file 2025-07-18 20:31:23 +01:00
hxd b597bedc0b debounce key readout 2025-07-18 20:31:23 +01:00
hxd 7467f41c30 factored out keyboard file 2025-07-18 20:31:23 +01:00
hxd f2613dd936 more operations; state fixes 2025-07-18 20:31:23 +01:00
hxd 5ffe1ea03c calc-math update 2025-07-18 20:31:23 +01:00
hxd ee88e956d9 debugging 2025-07-18 20:31:23 +01:00
hxd 491b1982e8 update to nightly-2025-03-03
https://github.com/Rahix/avr-hal/pull/634
2025-07-18 20:31:23 +01:00
hxd 165547939b note on floating point support 2025-07-18 20:31:23 +01:00
hxd 998623413d integrate calculator 2025-07-18 20:31:23 +01:00
hxd 87bb879fab number input 2025-07-18 20:31:23 +01:00
hxd 1df21e7fc5 key debounce 2025-07-18 20:31:23 +01:00
hxd ff40ffa908 key mapping 2025-07-18 20:31:23 +01:00
hxd 7b76a183f1 using iterator for scanning 2025-07-18 20:31:23 +01:00
hxd 0bfbec7ecd initial input ADC reading 2025-07-18 20:31:23 +01:00
hxd 3777c58129 display state 2025-07-18 20:31:23 +01:00
hxd 9a0856634e struct to hold display pins 2025-07-18 20:31:23 +01:00
hxd ca69073313 display scanning 2025-07-18 20:31:23 +01:00
hxd 7494e96575 custom panic to preserve type checking 2025-07-18 20:31:23 +01:00
hxd 3ba13263f7 cleanup 2025-07-18 20:31:23 +01:00
hxd 55aebb5db2 use 115200 baud and print panic over serial 2025-07-18 20:31:23 +01:00
hxd 8749adda13 generated project 2025-07-18 20:31:23 +01:00