Rev 6 #1

Merged
oleksiy merged 37 commits from hardware-rev-4 into main 2024-08-25 12:37:13 +00:00
79 changed files with 20687 additions and 7909 deletions
Showing only changes of commit 47a05fbedf - Show all commits

View File

@ -308,9 +308,10 @@ void externalClock() {
if (masterClockMode == 1 && extClockPPQN == 0) { // EXT-24
//reset cycles if there was no pulses for a while
if ((newExtPulseTime - lastExtPulseTime) > 125) { //125ms is 20bpm
for (byte i = 0; i < 6; i++) {
channelPulseCount[i] = 0;
}
//for (byte i = 0; i < 6; i++) {
//channelPulseCount[i] = 0;
//}
resetClocks();
}
if (!isPlaying) {

View File

@ -386,7 +386,7 @@ void checkInputs() {
} else if (digitalRead(SHIFT_BTN_PIN) && shiftBtnPushed) {
shiftBtnPushed = false;
shiftReleasedTime = millis();
if (shiftReleasedTime - shiftPressedTime > 500) { //&& shiftReleasedTime - shiftPressedTime < 2000
if (displayScreen == 1 && shiftReleasedTime - shiftPressedTime > 500) { //&& shiftReleasedTime - shiftPressedTime < 2000 //Clear the sequence
for (byte i = 0; i < 16; i++) {
patternToEdit[i] = 0;
}