Skip to content

ETHOS Lua example script files location

The ETHOS Lua example script files are stored on https://github.com/FrSkyRC/ETHOS-Feedback-Community/tree/main/lua. To download a file, follow the instructions below or alternately use an online download tool like ‘DownGit’.

  • Open the above link in a web browser.
  • Navigate to the folder and then the main.lua file you want to download.
  • Click on the main.lua to open it and view the code.
  • If there is a download icon, click on it to download the file.
  • If not, click on ‘Raw’, then right-click the page and click ‘Save Page as’, then save the file as main.lua in your download location.
  • To avoid clashes with other main.lua files, move the downloaded main.lua file into a suitably named folder (suggest to use the same folder name as the one the file came from).

For other files like images:

  • Click on the file.
  • Click on ‘Download’. It will download into your browser.
  • Right-click the image and click ‘Save Image as’, then save the file (as for example servo.png) in your download location.

To use an online download tool like ‘DownGit’.

  • Open the above link to the Lua files in a web browser.
  • Navigate to the folder or file you want to download.
  • Copy the URL for the page, and paste it into the field provided when you open the ‘DownGit’ tool.

The majority of the examples are for Lua widgets, which are configured in the Configure Screens section. Another application for Lua scripts is to create System Tools, which appear

after ‘Info’ in the System section of the menus. Please refer to the ‘servo’ example for an example System Tool.