A lightweight menuing library using the u8g2
graphics library and easy_input
input library designed for the ESP32.
This library was developed with the 128x64 SSD1306 OLED display in mind, but may work fine with other screens.
The following components need to be in the build path:
By default, you should clone these components into $(IDF_PATH)/../third-party-components
Unit tests can be used by selecting this library with a target using the ESP32 Unit Tester.
make flash TEST_COMPONENTS='menu8g2' monitor
The unit tests (in the test
folder) is a good source of examples on how to use this library. The unit tests are not properly isolated and may need some tweaking to work with your development setup. This library was developed on the Heltec WiFi_Kit_32.
- Move button stuff in test/ to its own "inputs" component
- Make the button code a bit more general
- More Unit tests
- Clean up code a further