#include #include namespace adc { struct Sample { std::uint8_t value {0}; bool changed {false}; }; void init() { } std::array get_samples() { // TODO: scale 12-bit range into MIDI 7-bit range with hysteresis return std::array{{{}, {}}}; } }