Commit Graph

8 Commits

Author SHA1 Message Date
Oliver Parczyk
7bf222228e Fix self driving mode
There was no need to have a timer do the key group switching routine. Not only would that have to be syncronized to the main loop somehow (or run very slowly),
it's also quite an overhead to keep track of.

Just switching to the next key group after we're done scanning the current one, syncronously, works far better (and faster!).
2023-12-16 12:03:25 +01:00
Oliver Parczyk
4c1658a3c6 Fix pinmode of self driving pins 2023-12-16 11:57:52 +01:00
Oliver Parczyk
54d685f62b Fix wrong order of keys 2023-12-16 11:56:37 +01:00
Oliver Parczyk
0c13d4da75 Fix constantly playing note out of range 2023-12-16 11:55:02 +01:00
Oliver Parczyk
030f2a39ae Remove debounce library dependency
Debouncing, the way it was done may have been appropriate for human input, but is wholly inadequate for the sequential scanning of the host keyboard IC.
It is however neccessary to provide something like debounce, because the teensy and host IC aren't syncronized.
2023-12-16 11:53:16 +01:00
Oliver Parczyk
58bdf0aac7 Refactor variable names and types
Neccessary because on ARM 'char' != int8_t but uint_8
Just declaring what know you want makes this far less confusing.
see https://en.cppreference.com/w/cpp/language/types
2023-12-16 11:18:51 +01:00
ab48f69b6c Move interuppt functions to RAM 2023-05-24 15:05:20 +02:00
345412c33b Initial commit 2023-05-24 14:57:19 +02:00