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:
- 18:204cd747b54a
- Parent:
- 14:9cfe0041cc4e
- Child:
- 19:08862f49cd9e
diff -r 358987e9f30e -r 204cd747b54a Front/Front.h --- a/Front/Front.h Thu May 21 12:50:43 2020 +0000 +++ b/Front/Front.h Thu May 21 22:59:59 2020 +0000 @@ -6,6 +6,7 @@ #include "Gamepad.h" #include "Menu.h" #include "Sound.h" +#include "Envelope.h" /** Front class * @author Luke Cartwright, University of Leeds @@ -16,6 +17,9 @@ class Front { public: + //Objects + + //variables int submenu; int a; @@ -23,9 +27,11 @@ int s; int r; int dir; + int envelope_in; int dir_1; uint16_t out; + //Methods //Constructor Front(); @@ -45,6 +51,10 @@ bool initial; //sets to run 1st time int adsr; //incrament correct val int ud; //up/down + bool noteon; //trigger for play tone + #ifdef CSV + int itterator; + #endif //methods //initial setup of front panel