This library was made to give the ability for making menus and sub-menus very easily, by providing friendly functions for adding new menu-items and linking them to other menus, what allows creating powerful sub-menus.
The first idea of the library was to make it simple to create friendly menus with buttons and displays.
The library has the ability to talk to other libraries from the GyverLibs series (you maybe want to take a look on the count of libraries wrote almost from scratch to provide nicely functions to create powerful things), what gives you the option to tell the menu which buttons controls the menu and to which display you want to output the menu without working with buttons logics and display render settings.
Hopefully, I was able to tell you the basic of what this library can do, but that's surely not all, I am always trying to do my best to add integrity of other components for input and output, so in the future this library could do a lot more (I hope so)...
To help the library to grow up interested in contributing people can open issues on GitHub and create pull-requests.
In order to download and start using the library, you need to download the library files.
To do it, scroll up until you see on the side-bar menu a link to the releases page, click on it and choose the version you want to download. I am recommend to download the most newer available version.
In order to install the library, copy the SimpleMenu folder to your Arduino libraries folder (By default it's at your documents folder > Arduino > libraries). If you can't find the local user libraries folder, open the folder where you installed the Arduino IDE and find there the libraries folder (make sure you are entering the libraries folder and not the libs!).
I am also recommend to download the GyverLibs series libraries to create the option to control the menu with buttons and other supported libraries.
- GyverButton - I've never saw more powerful libraries to manage buttons. This library provides all you need to create functions of any difficulty.
- GyverEncoder - Same as the GyverButton library, one of the most powerful libraries to manage encoders.
Output Devices
Currently the library supports only the GyverOLED library.
If you want to make an output to other types of displays and control the output manually, see the button2serial example which outputting the whole menu to the serial port, changing the render function logic you can render the menu to whatever display (or other device) you want.
Copyright (c) r0den, davidsl4. All rights reserved. Licensed under the MIT license.