As a step toward encapsulating sequencer functionality further, this PR moves the sequencer functions all to its own header/source files.
It's just an incremental refactoring step that doesn't actually re-structure any of the code, but it does highlight the dependencies between the globals and whatnot in the main .ino file and the sequencer logic by forcing us to declare extern variables and functions and such.
It also doesn't yet tackle the rest of the sequencer logic that currently lives in the main loop.
As a step toward encapsulating sequencer functionality further, this PR moves the sequencer functions all to its own header/source files.
It's just an incremental refactoring step that doesn't actually re-structure any of the code, but it does highlight the dependencies between the globals and whatnot in the main .ino file and the sequencer logic by forcing us to declare
extern
variables and functions and such.It also doesn't yet tackle the rest of the sequencer logic that currently lives in the main
loop
.