Skip to content

Multiswitch widget (LVGL Lua dev contest)#35

Closed
wimalopaan wants to merge 2 commits into
EdgeTX:mainfrom
wimalopaan:wm_lvglMultiSwitch
Closed

Multiswitch widget (LVGL Lua dev contest)#35
wimalopaan wants to merge 2 commits into
EdgeTX:mainfrom
wimalopaan:wm_lvglMultiSwitch

Conversation

@wimalopaan

@wimalopaan wimalopaan commented Apr 1, 2025

Copy link
Copy Markdown

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 wimalopaan changed the title Dev Contest lvgl LUA script submission Dev Contest lvgl LUA submission: multiswitch widget Apr 1, 2025
@rotorman rotorman added the contest Submission for a developer contest label Apr 1, 2025
@rotorman rotorman changed the title Dev Contest lvgl LUA submission: multiswitch widget Multiswitch widget (LVGL Lua dev contest) Apr 1, 2025
@wimalopaan

Copy link
Copy Markdown
Author

Latest version you'll find here: https://github.com/wimalopaan/LUA

@pfeerick pfeerick closed this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contest Submission for a developer contest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants