General Issues

Deprecated Functions

lcd.Lock() is deprecated, will be obsolete in 2.2. Lua scripts must now explicitly call lcd.Clear() and re-draw the whole display if necessary.

TODO: research killEvents() and use of keys in telemetry scripts

Obsolete Telemetry Field Names

OpenTX since version 2.1 provides more flexibility in the number and type of supported remote sensors. As a result, several field name constants are obsolete and need to be modified in scripts originally written for OpenTX 2.0.

GPS field names are covered in Handling GPS Sensor Data

Lipo voltage field names (LVSS) are covered in Handling Lipo Sensor Data

Maintaining compatibility with OpenTX 2.0

Automatic invocation of the background function - Beginning in OpenTX 2.1 the background() function is called automatically prior to each invocation of the run() function. Under 2.0 you must explicitly call your background function within your run function.

Last updated