lua-scripts icon indicating copy to clipboard operation
lua-scripts copied to clipboard

Multiswitch widget (LVGL Lua dev contest)

Open wimalopaan opened this issue 10 months ago • 0 comments

This PR is a submission to the lvgl LUA script dev contest.

It shows the use of most of the new lvgl UI controls available with EdgeTx 2.11.

What is the purpose of this widget?

This widgets controls a so-called multiswitch inside a model. A multiswitch is a device that is most popular in the field of ship/crawler/functional-models, and its purpos is to switch on/off multiple electronic motors, LEDs, ... inside the model.

This widget controls a multiswitch via the CRSF protocol (ExpressLRS): https://github.com/wimalopaan/Electronics?tab=readme-ov-file#elrs_msw (or via ACCST/AFHDS2A and SBus ). Multiple instances of this widget can control multiple multiswitches inside a model, upto 255 theoretically.

The main telemetry view (bottom left): tele01

The control screen of the widget: main01

The settings screen of the widget: settings10

The gloabl settings screen of the widget: global01

wimalopaan avatar Apr 01 '25 12:04 wimalopaan