All,
I'm already using the TFT_eSPI library successfully with a display and am now trying to add a menu, so I found this project.
I have some programming experience but for new stuff have to rely on working examples.
I tried to run the minimal example in the documentation but get "error: no matching function for call to 'OpenMenuOS::begin()'" on the menu.begin();.
I'm not sure what to expect, but a minimal example without even flashing to a microcontroller should at least compile, right?
I'm using OpenmenuOS 3.1.0 on Arduino-IDE 2.3.10.
This is the code from the example:
#include "OpenMenuOS.h"
OpenMenuOS menu;
void setup() {
menu.begin();
menu.setupButtons(19, -1, 2, INPUT_PULLUP, LOW);
menu.setEncoderPin(5, 4); // CLK, DT pins
menu.setMainMenuItems({"LED Control", "Settings", "About"});
menu.createMainMenu();
}
void loop() {
menu.loop();
}
All,
I'm already using the TFT_eSPI library successfully with a display and am now trying to add a menu, so I found this project.
I have some programming experience but for new stuff have to rely on working examples.
I tried to run the minimal example in the documentation but get "error: no matching function for call to 'OpenMenuOS::begin()'" on the menu.begin();.
I'm not sure what to expect, but a minimal example without even flashing to a microcontroller should at least compile, right?
I'm using OpenmenuOS 3.1.0 on Arduino-IDE 2.3.10.
This is the code from the example: