diff options
| author | Jared DeCook <jareddecook@Jareds-MacBook-Pro.local> | 2023-03-11 14:38:53 -0500 |
|---|---|---|
| committer | Jared DeCook <jareddecook@Jareds-MacBook-Pro.local> | 2023-03-11 14:38:53 -0500 |
| commit | ee4d906b74397441cc7b3b06f9ed50016e0a93d3 (patch) | |
| tree | 21823483c1f075c8e4c030649323fc02204f9949 | |
| parent | 384e7cbc3a4a36c208961540d5d82fb152540911 (diff) | |
| download | HexBoard-ee4d906b74397441cc7b3b06f9ed50016e0a93d3.tar.gz | |
Sequencer: Create data structure for storing stuff
| -rw-r--r-- | HexBoard_V1.1.ino | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/HexBoard_V1.1.ino b/HexBoard_V1.1.ino index ccdeee5..aa52ffa 100644 --- a/HexBoard_V1.1.ino +++ b/HexBoard_V1.1.ino @@ -199,6 +199,14 @@ byte activeButtons[elementCount]; // Array to hold current note bu byte previousActiveButtons[elementCount]; // Array to hold previous note button states for comparison unsigned long activeButtonsTime[elementCount]; // Array to track last note button activation time for debounce +// Variables for sequencer mode +typedef struct { + bool steps[32] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + bool bank = 0; + int state = 0;// TODO: change to enum: normal, mute, solo, mute&solo +} Lane; +Lane lanes[7]; + // MENU SYSTEM SETUP // // Create menu page object of class GEMPage. Menu page holds menu items (GEMItem) and represents menu level. // Menu can have multiple menu pages (linked to each other) with multiple menu items each |
