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:
- 11:d2a8b3132be9
- Parent:
- 10:778ad6af7512
- Child:
- 13:bc16eec2256f
diff -r 778ad6af7512 -r d2a8b3132be9 trigger.hpp --- a/trigger.hpp Thu Jul 25 10:23:31 2019 +0000 +++ b/trigger.hpp Thu Jul 25 10:31:03 2019 +0000 @@ -58,7 +58,7 @@ octive = loopBuffer[ToPlay].octave(); duration = loopBuffer[ToPlay].duration(); senddacout(); - pc.printf("Looping, pos: %i, note: %i, octave: %i, duration: %i \n\r", ToPlay, note, octive, duration); + pc.printf("Looping, PlayPos: %i, pos: %i, note: %i, octave: %i, duration: %i \n\r", PlayPos, ToPlay, note, octive, duration); if (PlayPos >= MAX_SAMPLES){ PlayPos = 0; }