Multiswitch widget (LVGL Lua dev contest)#35
Closed
wimalopaan wants to merge 2 commits into
Closed
Conversation
Author
|
Latest version you'll find here: https://github.com/wimalopaan/LUA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a submission to the
lvglLUA script dev contest.It shows the use of most of the new
lvglUI 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
CRSFprotocol (ExpressLRS): https://github.com/wimalopaan/Electronics?tab=readme-ov-file#elrs_msw (or via ACCST/AFHDS2A andSBus).Multiple instances of this widget can control multiple multiswitches inside a model, upto 255 theoretically.
The main telemetry view (bottom left):

The control screen of the widget:

The settings screen of the widget:

The gloabl settings screen of the widget:
