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.
Diff: Front/Front.h
- Revision:
- 19:08862f49cd9e
- Parent:
- 18:204cd747b54a
- Child:
- 21:60f01b17b0a6
diff -r 204cd747b54a -r 08862f49cd9e Front/Front.h --- a/Front/Front.h Thu May 21 22:59:59 2020 +0000 +++ b/Front/Front.h Fri May 22 20:10:00 2020 +0000 @@ -17,9 +17,6 @@ class Front { public: - //Objects - - //variables int submenu; int a; @@ -31,7 +28,6 @@ int dir_1; uint16_t out; - //Methods //Constructor Front(); @@ -52,6 +48,8 @@ int adsr; //incrament correct val int ud; //up/down bool noteon; //trigger for play tone + int release_flag; //sets 1 for if release on + #ifdef CSV int itterator; #endif @@ -74,6 +72,12 @@ //incraments correct adsr value int incrament_adsr(int used, int adsr, int ud); + + //pre compilation directive function + #ifdef SLOW_TIME + //prints slow time front values output from loop + void print_SLOWTIME_out (uint16_t out, bool noteon, int a, int d, int s, int r, int release_flag, int silent_flag); + #endif }; #endif \ No newline at end of file