/menu8g2

Menuing library using the U8G2 Graphical Library

Primary LanguageCMIT LicenseMIT

Menu8g2

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.

Dependencies:

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

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.

Todo:

  • 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