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:
- 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); };