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: variables.hpp
- Revision:
- 4:e56a755aeaf1
- Parent:
- 1:5b491fa83cb7
- Child:
- 12:c77c80e92dc1
--- a/variables.hpp Wed Jul 24 12:24:05 2019 +0000 +++ b/variables.hpp Wed Jul 24 15:06:20 2019 +0000 @@ -1,5 +1,8 @@ #ifndef __variables__ #define __variables__ + +#define MAX_SAMPLES 18 + float vc; float vcshp; float vd; @@ -27,4 +30,12 @@ int sumnotes2 = 0; int sumoctives2 = 0; int sumduration2 = 0; + +int bufferHeader = 0; +int bufferTail = MAX_SAMPLES-1; +int dataHeader = 0; +int dataTail = MAX_SAMPLES-1; +bool loop = 0; //where 1 is looping +int PlayPos = 0; +int ToPlay = 0; #endif \ No newline at end of file