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.
Front/Front.h@7:33cb5f2db1ee, 2020-05-05 (annotated)
- Committer:
- lukeocarwright
- Date:
- Tue May 05 14:32:04 2020 +0000
- Revision:
- 7:33cb5f2db1ee
- Child:
- 8:f305ea78b2b1
Added initial GUI for front and sorted menu bug
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lukeocarwright | 7:33cb5f2db1ee | 1 | #ifndef FRONT_H |
lukeocarwright | 7:33cb5f2db1ee | 2 | #define FRONT_H |
lukeocarwright | 7:33cb5f2db1ee | 3 | |
lukeocarwright | 7:33cb5f2db1ee | 4 | #include "mbed.h" |
lukeocarwright | 7:33cb5f2db1ee | 5 | #include "N5110.h" |
lukeocarwright | 7:33cb5f2db1ee | 6 | #include "Gamepad.h" |
lukeocarwright | 7:33cb5f2db1ee | 7 | #include "menu.h" |
lukeocarwright | 7:33cb5f2db1ee | 8 | |
lukeocarwright | 7:33cb5f2db1ee | 9 | /** Front class |
lukeocarwright | 7:33cb5f2db1ee | 10 | * @author Luke Cartwright, University of Leeds |
lukeocarwright | 7:33cb5f2db1ee | 11 | * @brief manages front pannel of Synth |
lukeocarwright | 7:33cb5f2db1ee | 12 | * @date May 2020 |
lukeocarwright | 7:33cb5f2db1ee | 13 | */ |
lukeocarwright | 7:33cb5f2db1ee | 14 | class Front |
lukeocarwright | 7:33cb5f2db1ee | 15 | { |
lukeocarwright | 7:33cb5f2db1ee | 16 | public: |
lukeocarwright | 7:33cb5f2db1ee | 17 | //variables |
lukeocarwright | 7:33cb5f2db1ee | 18 | int submenu; |
lukeocarwright | 7:33cb5f2db1ee | 19 | //methods |
lukeocarwright | 7:33cb5f2db1ee | 20 | //constructor |
lukeocarwright | 7:33cb5f2db1ee | 21 | Front(); |
lukeocarwright | 7:33cb5f2db1ee | 22 | |
lukeocarwright | 7:33cb5f2db1ee | 23 | //destructior |
lukeocarwright | 7:33cb5f2db1ee | 24 | ~Front(); |
lukeocarwright | 7:33cb5f2db1ee | 25 | |
lukeocarwright | 7:33cb5f2db1ee | 26 | //initial setup of front panel |
lukeocarwright | 7:33cb5f2db1ee | 27 | void frontsetup(N5110 &lcd, Gamepad &pad, int submenu); |
lukeocarwright | 7:33cb5f2db1ee | 28 | //runs whole front pannel |
lukeocarwright | 7:33cb5f2db1ee | 29 | void frontrun(N5110 &lcd, Gamepad &pad, int submenu); |
lukeocarwright | 7:33cb5f2db1ee | 30 | |
lukeocarwright | 7:33cb5f2db1ee | 31 | private: |
lukeocarwright | 7:33cb5f2db1ee | 32 | //variables |
lukeocarwright | 7:33cb5f2db1ee | 33 | //methods |
lukeocarwright | 7:33cb5f2db1ee | 34 | |
lukeocarwright | 7:33cb5f2db1ee | 35 | //void frontsetup(N5110 &lcd,int submenu); |
lukeocarwright | 7:33cb5f2db1ee | 36 | //prints fader |
lukeocarwright | 7:33cb5f2db1ee | 37 | void printfader(N5110 &lcd,int x, int y); |
lukeocarwright | 7:33cb5f2db1ee | 38 | void printwav(N5110 &lcd, int submenu); |
lukeocarwright | 7:33cb5f2db1ee | 39 | |
lukeocarwright | 7:33cb5f2db1ee | 40 | }; |
lukeocarwright | 7:33cb5f2db1ee | 41 | |
lukeocarwright | 7:33cb5f2db1ee | 42 | #endif |