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.
Dependencies: mbed
Diff: Menu/Menu.h
- Revision:
- 30:08cc4ec58d07
- Parent:
- 29:207111ffd6e6
- Child:
- 31:cfdb014ff086
diff -r 207111ffd6e6 -r 08cc4ec58d07 Menu/Menu.h --- a/Menu/Menu.h Mon May 25 20:00:31 2020 +0000 +++ b/Menu/Menu.h Tue May 26 10:17:47 2020 +0000 @@ -48,6 +48,11 @@ */ void subsettings(N5110 &lcd, Gamepad &pad); + /** Screen Mode adjust function + * @toggles inverse/normal mode + */ + void inverse_mode(N5110 &lcd, Gamepad &pad); + /** Scrolling function * @Function controlling scrolling in menus * @checks doesnt exceed bounds @@ -60,15 +65,15 @@ */ void volumerun(N5110 &lcd, Gamepad &pad); - /** MIDI settings submenu function - * @Runs MIDI Settings submenu code - */ - void MIDIsettings(N5110 &lcd, Gamepad &pad); - /** Contrast adjust function * @Runs Contrast adjustment code */ void contrastrun(N5110 &lcd, Gamepad &pad); + + /** Backlight adjust function + * @toggles Backlight + */ + void backlightrun(N5110 &lcd, Gamepad &pad); private: //--------------------------------------------------------------------- //Global Variables @@ -82,6 +87,7 @@ enum d; //direction int s; //current direction as int int s_1; //previous direction as int + bool toggle; //Variable used for Backlight toggle //Methods