about summary refs log tree commit diff
path: root/HexBoard_V1.1.ino
diff options
context:
space:
mode:
authorJared DeCook <jareddecook@Jareds-MacBook-Pro.local>2023-03-11 14:38:53 -0500
committerJared DeCook <jareddecook@Jareds-MacBook-Pro.local>2023-03-11 14:38:53 -0500
commitee4d906b74397441cc7b3b06f9ed50016e0a93d3 (patch)
tree21823483c1f075c8e4c030649323fc02204f9949 /HexBoard_V1.1.ino
parent384e7cbc3a4a36c208961540d5d82fb152540911 (diff)
downloadHexBoard-ee4d906b74397441cc7b3b06f9ed50016e0a93d3.tar.gz
Sequencer: Create data structure for storing stuff
Diffstat (limited to 'HexBoard_V1.1.ino')
-rw-r--r--HexBoard_V1.1.ino8
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