More UI changes

This commit is contained in:
2023-07-23 23:09:38 +03:00
parent 3a41da4d58
commit ddce619aed
3 changed files with 198 additions and 54 deletions

View File

@ -50,7 +50,7 @@ bool bpmModulationChannel; //0 - CV1, 1 - CV2
byte bpmModulationRange = 0;
struct channel {
unsigned int mode;
unsigned int mode; //need to be changed to subdiv
unsigned int random;
bool modulationChannel; //0 - CV1, 1 - CV2
int modulationRange;
@ -87,6 +87,8 @@ bool needPulseReset[6] = { true, true, true, true, true, true };
unsigned int displayTab = 0;
unsigned int displayTabOld;
bool insideTab = false;
unsigned int menuItem = 0;
unsigned int lastMenuItem = 3;
bool playBtnPushed = false;
bool shiftBtnPushed = false;
@ -142,7 +144,6 @@ void setup() {
pinMode(ENC_BTN_PIN, INPUT_PULLUP);
pinMode(START_STOP_BTN_PIN, INPUT_PULLUP);
// pinMode(START_STOP_BTN_PIN, ANALOGUE_INPUT_1_PIN); // no idea where this came from
pinMode(SHIFT_BTN_PIN, INPUT_PULLUP);
pinMode(EXT_INPUT_PIN, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(EXT_INPUT_PIN), externalClock, FALLING);