This repository provides code to diaplay Engine data from SignalK via MQTT. Graphics is done via lvgl. This is provided as-is and should be used as an example of how to display MQTT data using lvgl graphics widgets. This code also supports the add-on battery so it can be a "portable" display.
This code is based on the following repository for lvgl integration:
Thanks Ryan.
-
Hardware:
- Seeed Wio Terminal
-
Software:
- Visual Studio Code with the PlatformIO extension installed.
- Open the Project in Visual Studio Code:
- Launch Visual Studio Code and open the
PIO_WioTerminal_Lvgl_Mqttfolder.
- Copy the
lv_conf.hfile:
- The
lv_conf.hfile is required for configuring LVGL. You can find a samplelv_conf.hfile in the LVGL repository. - Copy the
lv_conf.hfile to the.pio/libdeps/seeed_wio_terminaldirectory in your project.
- Build and Upload the Code:
- Connect your Wio Terminal to your computer.
- In the PlatformIO toolbar, click the "Build" and "Upload" buttons to compile and upload the code to your Wio Terminal.
Enjoy
