Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
14:9cfe0041cc4e
Parent:
13:27300c533dd1
Child:
18:204cd747b54a
--- a/Front/Front.h	Sat May 09 13:45:23 2020 +0000
+++ b/Front/Front.h	Tue May 19 15:04:33 2020 +0000
@@ -5,7 +5,7 @@
 #include "N5110.h"
 #include "Gamepad.h"
 #include "Menu.h"
-
+#include "Sound.h"
 
 /** Front class
  * @author Luke Cartwright, University of Leeds
@@ -13,7 +13,6 @@
  * @date May 2020
 */
 
-
 class Front
 {
 public:
@@ -25,18 +24,19 @@
     int r;
     int dir;
     int dir_1;
-    //methods
-    //constructor
+    uint16_t out;
+
+    //Methods
+    //Constructor
     Front();
 
-    //destructior
+    //Destructior
     ~Front();
-    
 
-    //runs whole front pannel
+    //Runs whole front pannel
     void frontrun(N5110 &lcd, Gamepad &pad, int submenu);
-    
-    
+
+
 private:
 //variables
     int menuflag;
@@ -58,10 +58,10 @@
 
     //prints sliders
     void printsliders(N5110 &lcd, int a, int d,int s,int r, int used);
-    
+
     //prints individual slider
     void printslider(N5110 &lcd, int x_val, int y_val, bool use);
-    
+
     //incraments correct adsr value
     int incrament_adsr(int used, int adsr, int ud);
 };