Added sequence recorder
This commit is contained in:
@ -271,10 +271,9 @@ void updateScreen() {
|
||||
u8g2.drawUTF8(122, yPos, "r");
|
||||
}
|
||||
}
|
||||
//Edit Pattern
|
||||
//Edit Pattern Screen
|
||||
else if (displayScreen == 1) {
|
||||
|
||||
//patternToEdit = seqA4;
|
||||
for (byte i = 0; i < 8; i++) {
|
||||
if (patternToEdit[i]) {
|
||||
u8g2.drawUTF8(19 + i*12, 20, "q");
|
||||
@ -289,10 +288,16 @@ void updateScreen() {
|
||||
u8g2.drawUTF8(19 + (i-8)*12, 40, "p");
|
||||
}
|
||||
}
|
||||
if (stepNumSelected < 8 ) {
|
||||
u8g2.drawFrame(16 + stepNumSelected * 12, 12, 11, 11);
|
||||
} else {
|
||||
u8g2.drawFrame(16 + (stepNumSelected-8) * 12, 32, 11, 11);
|
||||
if (!isRecording) {
|
||||
if (stepNumSelected < 8 ) {
|
||||
u8g2.drawFrame(16 + stepNumSelected * 12, 12, 11, 11);
|
||||
} else {
|
||||
u8g2.drawFrame(16 + (stepNumSelected-8) * 12, 32, 11, 11);
|
||||
}
|
||||
}
|
||||
|
||||
if (isRecording) {
|
||||
u8g2.drawUTF8(44, 60, "RECORDING");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user