Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
19:08862f49cd9e
Parent:
18:204cd747b54a
Child:
21:60f01b17b0a6
--- 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