Need to add other features that involve flashing the error code lights, so made it possible to do this with different colors and without interfering with running programs
Still getting ~64 reads per update cycle, but sampling a little slower. After doing some testing it may - or may not - result in more stability of readings.
Doubled the count of averaged readings.
D1 has changed to a 5V1 zener and is loading the circuit a little bit. Adjusted voltage based on tested value on prototype. This value may differ on production units so expect this to possibly change.
Reads continuity at a fixed ~100ohm or lower, and diodes with intelligent detection of LEDs vs normal diodes. Some values may need to be changed still.
ADC now works in interrupt mode. No idea why DMA was unreliable.
Initial button push / release detection and mode switch detection working. No callbacks implemented yet.
ADC is sort of functioning, but not reliably. LEDs are sort of working. Buzzer isn't working right and is nearly always on as I can't set the PF2 mode.
Builds, but is not yet usable in any way nor is anything tested.
This includes ADC reading, basic RGBLED control, and init code. Still need to do probe, user IO including mode select and settings, RGBLED programs, and more.