Skip to content

Multiswitch widget (LVGL Lua dev contest) #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

wimalopaan
Copy link

@wimalopaan wimalopaan commented Apr 1, 2025

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 dev contest developer contest entry 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
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
dev contest developer contest entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants