Skip to content

Official examples

These are FrSky's own example scripts from ETHOS-Feedback-Community, copied here so you can read and search them alongside the API reference. API pages link back here under Used in.

Example Type What it shows
active-look Script Drive ActiveLook smart glasses (glasses namespace).
bluetooth System tool Scan and connect Bluetooth devices (bluetooth namespace).
custom-sensor Sensor Create a telemetry sensor whose value is computed in Lua.
layout Layout Register a custom screen layout (system.registerLayout).
lazy-loading Widget Keep startup RAM small by loading tool/widget code on first use.
memstatus Task Background task that prints Lua and bitmap RAM every few seconds.
source Source Register a Lua source that other parts of the model can use.
task Task Minimal background task (system.registerTask).
theme Theme Register a custom color theme.
tool-form System tool System tool built from form fields.
tool-servo System tool System tool that drives a servo channel.
widget-flvss Widget Widget showing FLVSS LiPo cell voltages.
widget-form Widget Widget with a configuration form and persistent settings.
widget-gauge Widget Gauge widget with configurable source and colors.
widget-jet Widget Jet turbine dashboard using bitmap dials.
widget-lcddemo Widget Tour of the lcd drawing API.
widget-rssi Widget Classic RSSI bar widget.
widget-sinus Widget The smallest useful widget: draws a sine wave.
wizard Script Model setup wizard built with forms.
xxxxl Widget Large-text value widget.