init
function is called one time when the script is loadedbackground
function is periodically; both when the telemetry screen is visible and when it is not.run
function is called periodically only when the telemetry screen is visiblereturn
statement at the end, defining its interface to EdgeTX. This statement returns a table with the following fields:init
function (optional)background
function (optional)run
function