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:
- 8:f305ea78b2b1
- Parent:
- 7:33cb5f2db1ee
- Child:
- 13:27300c533dd1
--- a/Front/Front.h Tue May 05 14:32:04 2020 +0000 +++ b/Front/Front.h Tue May 05 16:46:01 2020 +0000 @@ -4,18 +4,24 @@ #include "mbed.h" #include "N5110.h" #include "Gamepad.h" -#include "menu.h" +#include "Menu.h" /** Front class * @author Luke Cartwright, University of Leeds * @brief manages front pannel of Synth * @date May 2020 */ + + class Front { public: //variables int submenu; + int a; + int d; + int s; + int r; //methods //constructor Front(); @@ -23,20 +29,26 @@ //destructior ~Front(); - //initial setup of front panel - void frontsetup(N5110 &lcd, Gamepad &pad, int submenu); + //runs whole front pannel void frontrun(N5110 &lcd, Gamepad &pad, int submenu); private: //variables -//methods + int menuflag; - //void frontsetup(N5110 &lcd,int submenu); +//methods + //initial setup of front panel + void frontsetup(N5110 &lcd, Gamepad &pad, int submenu); + + //prints waveforms for front disp. + void printwav(N5110 &lcd, int submenu); + //prints fader void printfader(N5110 &lcd,int x, int y); - void printwav(N5110 &lcd, int submenu); - + + //prints sliders + void Front::printsliders(N5110 &lcd, int a, int d,int s,int r); }; #endif \ No newline at end of file