Skip to content

Commit

Permalink
Update Clockwork_Code.ino
Browse files Browse the repository at this point in the history
Fixed a bug that caused trigger lengths to be shorter than 4ms.
  • Loading branch information
triglav-modular authored Jul 23, 2023
1 parent f1d15c6 commit 1f22fd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Clockwork_Code/Clockwork_Code.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Shifting trigger sequencer, clock divider, and timing distributor for the 208.
———————————————————————————————————————————————————————————————————————————————————
Version 1.1
Version 1.2
Code by Triglav Modular
Anti-copyright 2023
Expand Down Expand Up @@ -361,7 +361,7 @@ void loop() {

currentMicros = micros();

if (currentMicros - trigMicros > trigLength) {
if (currentMicros - trigMicros > (trigLength + 1000)) {
trigLengthEnforcer();
}

Expand All @@ -379,4 +379,4 @@ void loop() {
nextStep();
}
}
}
}

0 comments on commit 1f22fd7

Please sign in to comment.