For a MIDI sequencer application, I wanted to use the Interval Timer to generate the "Clock".
This is the code:
https://gist.github.com/DatanoiseTV/10683910d877e187037515ff2e98cab6
Now with the upper main.ino, it doesn't work. If I set the interval to 60000 / BPM (e.g. 120) it works.
The formula is 60000 / (BPM * PPQ) (milliseconds).
My guess is, that my interval is too short?
This is the code:
https://gist.github.com/DatanoiseTV/10683910d877e187037515ff2e98cab6
Now with the upper main.ino, it doesn't work. If I set the interval to 60000 / BPM (e.g. 120) it works.
The formula is 60000 / (BPM * PPQ) (milliseconds).
My guess is, that my interval is too short?