Robert
Robert
@philmoz we decided we will go with LUA 5.3 in EdgeTX 2.11 There is one change in API that affects text LUA text files: Bitmap.* functions are now bitmap.* To...
Okay followin naming. 1. JR Micro Bay (JRMB) - bigger module 2. Nano Bay (NB) - smaller module I wasn't aware about differences between hardware implementation of those two Here...
> R9M Lite Pro / XJT Lite: > > * do require full UART that some radio don't have > * require small module to be declared. On radio with...
@pfeerick not relevant argument. Byte code (luac) has smaller footprint and it's faster. If script is "one liner" it does not matter, if it is lua application like iNav Telemetry...
> > Then there was always source code folder with readable luac files to meet what you call "open source spirit". > > This is a logical fallacy - how...
*.lua is needed only as /WIDGETS/MY_WIDGET/main.lua rest of loaded scrtipts are *.lua or *.luac whatever you decide in your LUA code.
1. loader ``` ------------------------------------------------------------------------------- -- /WIDGETS/MY_WIDGET/main.lua ------------------------------------------------------------------------------- return loadScript("/WIDGETS/MY_WIDGET/code.luac") () ``` 2. actual widget code that is copiled ``` ------------------------------------------------------------------------------- -- /WIDGETS/MY_WIDGET/code.luac ------------------------------------------------------------------------------- local name = "WidgetName" -- Create a...
1. If you can't find widget on widget list it's 99% due to an error during widget initializing. Look at companion debug what is causing error. 2. It may be...
Hmm not sure what is causing your error. Example with code.luac works fine (tested on ETX 2.10)  
1. Here you are [Archive.zip](https://github.com/user-attachments/files/16346335/Archive.zip) 2. Once finished I leave only main.lua (main.luac will be generated anyway with widget initialization) and code.luac 3. For one file project like in this...