Function.......................................................................................................................... 258
Custom........................................................................................................................... 261
Function curve offset change in flight..............................................................................263
Curve point change in flight............................................................................................263
Variables (Vars)...................................................................................................................264
Adding Vars....................................................................................................................265
Trainer................................................................................................................................. 269
Trainer mode = Master...................................................................................................270
Trainer Mode = Slave.....................................................................................................275
Lua...................................................................................................................................... 277
Lua tasks........................................................................................................................ 277
Lua sources....................................................................................................................278
Lua script functions.........................................................................................................278
Configure Screens................................................................................................................... 279
Configuring the main screen................................................................................................279
Standard widgets............................................................................................................ 280
Main screen widgets example.........................................................................................287
Adding additional screens...................................................................................................288
Adding custom widgets.......................................................................................................289
Lua Scripts............................................................................................................................... 290
ETHOS Lua interpreter........................................................................................................ 290
ETHOS Lua documentation.................................................................................................290
ETHOS Lua example script files location............................................................................290
Lua scripting configuration limits.........................................................................................290
Basic layout of a Lua widget................................................................................................291
key (string)...................................................................................................................... 291
name (string or function).................................................................................................291
create (function)..............................................................................................................291
configure (function)......................................................................................................... 291
wakeup (function)...........................................................................................................291
event (function)............................................................................................................... 291
paint (function)................................................................................................................ 291
read (function)................................................................................................................ 291
write (function)................................................................................................................291
init(function)....................................................................................................................291
Programming Tutorials.............................................................................................................293
Initial radio setup example...................................................................................................293
Step 1. Charge the radio and flight batteries...................................................................293
Step 2. Calibrate the hardware.......................................................................................293
Step 3. Perform the radio system setup..........................................................................293
Basic Fixed Wing Airplane example....................................................................................295
Step 1. Confirm system settings.....................................................................................295
Step 2. Identify the servos/channels required.................................................................295
Step 3. Create a new model...........................................................................................295
Step 4. Review and configure the mixes.........................................................................298
Step 5. Bind the receiver................................................................................................303
Step 6. Configure the outputs.........................................................................................303
Step 7. Introduction to flight modes.................................................................................306
Step 8. Set up a flight battery timer.................................................................................308
Step 9. Add a mix for retracts..........................................................................................309
Basic Flying Wing (Elevon) Airplane example.....................................................................310
Step 1. Confirm System settings.....................................................................................310
Step 2. Identify the servos/channels required.................................................................310
Step 3. Create a new model...........................................................................................310
Step 4. Review and configure the mixes.........................................................................312