Skip to content

Commit

Permalink
slow down beat
Browse files Browse the repository at this point in the history
  • Loading branch information
vk2seb committed Dec 31, 2023
1 parent 6e704f2 commit 130226b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/polyvec/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ impl State {

// Hacky clock divider + master
let pmod0 = &peripherals.EURORACK_PMOD0;
pmod0.output(0, if (self.counter & (1 << 5)) != 0 { 4000 } else { 0 });
pmod0.output(1, if (self.counter & (1 << 6)) == 0 { 4000 } else { 0 });
pmod0.output(0, if (self.counter & (1 << 6)) != 0 { 4000 } else { 0 });
pmod0.output(1, if (self.counter & (1 << 7)) == 0 { 4000 } else { 0 });
self.counter += 1;

self.last_control_type = Some(opts.touch.note_control.value);
Expand Down

0 comments on commit 130226b

Please sign in to comment.