Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: trigger.hpp
- Revision:
- 7:8b1c2d0bee9b
- Parent:
- 4:e56a755aeaf1
- Child:
- 8:4719a23dad97
--- a/trigger.hpp Wed Jul 24 15:34:58 2019 +0000 +++ b/trigger.hpp Wed Jul 24 15:52:07 2019 +0000 @@ -57,6 +57,7 @@ note = loopBuffer[ToPlay].note(); octive = loopBuffer[ToPlay].octave(); duration = loopBuffer[ToPlay].duration(); + pc.printf("Loop"); if (PlayPos >= MAX_SAMPLES){ PlayPos = 0; } @@ -64,7 +65,7 @@ PlayPos++; } } - else{ +// else{ allledoff(); getfaderdata(); gettempodata(); @@ -116,7 +117,7 @@ wait(0.0001); clockcount = 0; } - } + if(clockcount == 1 && storedduration == 1){ updateled(); }