okyeron / OMX-27

157 stars 38 forks source link

Move sequencer into it's own header/source files #38

Closed catkins closed 2 years ago

catkins commented 2 years ago

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.