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_Mqtt
folder.
- Copy the
lv_conf.h
file:
- The
lv_conf.h
file is required for configuring LVGL. You can find a samplelv_conf.h
file in the LVGL repository. - Copy the
lv_conf.h
file to the.pio/libdeps/seeed_wio_terminal
directory 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