Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
28:eb0f12304a45
Parent:
26:a6033830d01c
Child:
31:cfdb014ff086
--- a/Front/Front.h	Sun May 24 21:13:36 2020 +0000
+++ b/Front/Front.h	Mon May 25 10:46:02 2020 +0000
@@ -54,6 +54,7 @@
     bool noteon; //trigger for play tone
     int release_flag; //sets 1 for if release on
     int filter_type;
+    int oct;
     
     #ifdef CSV //COMMA SEPERATED VALUE
     int itterator; //Itterator for CSV
@@ -109,7 +110,7 @@
     /**Converts Float to Frequency
     * @changes Pot 1 value to Frequency of tone (int)
     */
-    int frequency_convert(Gamepad &pad);
+    int frequency_convert(Gamepad &pad, int oct);
 
     //pre compilation directive function
     #ifdef SLOW_TIME