{"version":1,"pages":[{"id":"-MfabckrnSAQnhgmsEDZ","title":"OpenTX 2.3 Lua Reference Guide","pathname":"/opentx_2.3","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-MfabcifIY01AgusGbME","title":"Introduction","pathname":"/opentx_2.3/introduction","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-MfabcigyNj5Q1RDUXmD","title":"Acknowledgments","pathname":"/opentx_2.3/introduction/acknowledgments","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"-MfabcihYl44u-Nf3XPJ","title":"Getting Started","pathname":"/opentx_2.3/introduction/getting_started","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"-Mfabciie-T5imQUxyPC","title":"Part I - Script Type Overview","pathname":"/opentx_2.3/part_i_-_script_type_overview","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-MfabcijV4uZppm_x738","title":"Mix Scripts","pathname":"/opentx_2.3/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MfabcikMBOxdzr9PIAF","title":"Telemetry Scripts","pathname":"/opentx_2.3/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MfabcilkaRDn2frkzRU","title":"One-Time Scripts","pathname":"/opentx_2.3/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-Mfabcim63M9N3DLDq1V","title":"Wizard Script","pathname":"/opentx_2.3/part_i_-_script_type_overview/wizard","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-Mfabcin08rAIvt2TwI8","title":"Function Scripts","pathname":"/opentx_2.3/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-Mfabcio1QD3wDfGNc72","title":"Widget Scripts","pathname":"/opentx_2.3/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MfabcipJddrxGVNT2iu","title":"Theme Scripts","pathname":"/opentx_2.3/part_i_-_script_type_overview/theme_scripts","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-Mfabciq0eBOTkydLAPM","title":"Part II - OpenTX Lua API Programming Guide","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-Mfabcir4Z8ldlGBYMvM","title":"Input Table Syntax","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/input_table_syntax","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"}]},{"id":"-MfabcisALafpzN-K5Mz","title":"Output Table Syntax","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/output_table_syntax","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"}]},{"id":"-Mfabcit3WDDMcBbNvtN","title":"Init Function Syntax","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/init_function_syntax","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"}]},{"id":"-MfabciuOBafm7CTshxs","title":"Run Function Syntax","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/run_function_syntax","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"}]},{"id":"-MfabcivXsmFHygiRZLJ","title":"Return Statement Syntax","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/return_statement_syntax","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"}]},{"id":"-Mfabciwv3GEzojvxoKB","title":"Included Lua Libraries","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"}]},{"id":"-Mfabcix5q4X7ZlYbQ-w","title":"io Library","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"-MfabciykgggOQ_7aflb","title":"io.open()","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MfabcizKdHupgBKUOym","title":"io.close()","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-Mfabcj--aXB50DLrUwG","title":"io.read()","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-Mfabcj0iTgRf7Rs8RWo","title":"io.write()","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-Mfabcj1j0mKbdq8AjdK","title":"io.seek()","pathname":"/opentx_2.3/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part II - OpenTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-Mfabcj2z8r-CoJESy8G","title":"Part III - OpenTX Lua API Reference","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-Mfabcj3RRa7iZCSSiY6","title":"Constants","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"}]},{"id":"-Mfabcj46mU0fKERNH9U","title":"Key Event Constants","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Constants"}]},{"id":"-Mfabcj5TkYk_N1d6kUp","title":"General Functions [//]: <> (LUADOC-BEGIN:general)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"}]},{"id":"-Mfabcj6XUE0OgRTrlwL","title":"GREY()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-Mfabcj7eSkCDq66eE1C","title":"accessTelemetryPush()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-Mfabcj8kLtVlz1u17kH","title":"chdir(directory)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-Mfabcj99jZgcyEUB3wD","title":"crossfireTelemetryPop()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjA1WsbtKukYAlI","title":"crossfireTelemetryPush()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjBBYymz9X46eSz","title":"defaultChannel(stick)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjCjrMjK3Evi4Fs","title":"defaultStick(channel)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjDogF1vdYulW8g","title":"getDateTime()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjERG_PfE0Umz0y","title":"getFieldInfo(name)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjFtwusgsHxCwDd","title":"getFlightMode(mode)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjGEC4c9ttDuSi9","title":"getGeneralSettings()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjHYCoPWx3hdwpU","title":"getGlobalTimer()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjIi3vnx_xY_DRy","title":"getRAS()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjJ4A74myOcGosR","title":"getRSSI()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjKVKgNnk1w40s2","title":"getRotEncSpeed()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjLjIA5v4EpsGUk","title":"getRtcTime()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjMpO75ZByjUNqb","title":"getTime()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjN_Anm_qoiVtwB","title":"getTxGPS()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjOwuU2gZrB0HP1","title":"getUsage()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjPNfMzn7f-xGxD","title":"getValue(source)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjQWKZfS8EmprkM","title":"getVersion()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjRyOuLNPpF1swj","title":"killEvents(key)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjSpw-D6Wdr1A5w","title":"loadScript(file [, mode], [,env])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjT2MgzZMvXls0T","title":"multiBuffer(address[,value])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjUmK5feEhSBXYF","title":"playDuration(duration [, hourFormat])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjVP7FQZ0qxdlVe","title":"playFile(name)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjWuXBMRnN19rox","title":"playHaptic(duration, pause [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjXIghYgZzyXX__","title":"playNumber(value, unit [, attributes])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjYULKJv4ek0Kw6","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjZMIrBfSy8UjMu","title":"popupInput(title, event, input, min, max)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-Mfabcj_3ptZVGuQYfwG","title":"popupWarning(title, event)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjauYv5S_-k2xh7","title":"resetGlobalTimer([type])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-Mfabcjbg54LDHPXlsOI","title":"serialRead([num])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjcM5NcHpnzBGJj","title":"serialWrite(str)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-Mfabcjdcnlp317WYL7E","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjeOB8rBwDN0gLJ","title":"sportTelemetryPop()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-MfabcjfLgYcixmML12H","title":"sportTelemetryPush()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"General Functions [//]: <> (LUADOC-BEGIN:general)"}]},{"id":"-Mfabcjg8fgl2Sa3t9qR","title":"Model Functions [//]: <> (LUADOC-BEGIN:model)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"}]},{"id":"-MfabcjhIIxmvP26mhaA","title":"model.defaultInputs()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabcjifu0t0wkEmuTa","title":"model.deleteFlightModes()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjjPebqG8Dv4C5b","title":"model.deleteInput(input, line)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjkwKd2pW6c1Qvw","title":"model.deleteInputs()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjluwUsBERRdhse","title":"model.deleteMix(channel, line)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjmAI-H2Naj5MEX","title":"model.deleteMixes()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjnhfYp-Yxk1fg3","title":"model.getCurve(curve)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjorAGH_viQaAyX","title":"model.getCustomFunction(function)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjpVBFuQEUh6Xb-","title":"model.getFlightMode(index)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabcjqz-_oiNSQNEZM","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabcjr1ge4QLpQyFUr","title":"model.getInfo()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabcjs8MoQyHciTtd7","title":"model.getInput(input, line)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjtKuUOiNcME66H","title":"model.getInputsCount(input)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjuJaiiZ1kaiJe3","title":"model.getLogicalSwitch(switch)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjvwsZCDzX1WLol","title":"model.getMix(channel, line)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjwyJCJFMDyzT62","title":"model.getMixesCount(channel)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabcjx2j8E9jbaDmQp","title":"model.getModule(index)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjyjXB5py2Fhk-G","title":"model.getOutput(index)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabcjzvEC3zhQm_3wl","title":"model.getSensor(sensor)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck-Znv-j3mdj1CE","title":"model.getTimer(timer)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck0yJhxVTaVCGcG","title":"model.insertInput(input, line, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck1XvCe2ki0Ayqh","title":"model.insertMix(channel, line, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck2SbsQz_eFe5kO","title":"model.resetSensor(sensor)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck3x5WQkqRGAx8D","title":"model.resetTimer(timer)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck4vRM8QD9kNogg","title":"model.setCurve(curve, params)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck5PlIUiNFzvM5I","title":"model.setCustomFunction(function, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck6TZSsENc1TNoJ","title":"model.setFlightMode(index, params)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck7KFeI075WK3u9","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck83ilLxl6XRofl","title":"model.setInfo(value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-Mfabck9GmB2hsnMAXlL","title":"model.setLogicalSwitch(switch, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabckA0BX9New653EC","title":"model.setModule(index, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabckB-OSTHmr9PTwm","title":"model.setOutput(index, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabckCJTLyeD7-dGEb","title":"model.setTimer(timer, value)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Model Functions [//]: <> (LUADOC-BEGIN:model)"}]},{"id":"-MfabckDmJqIVwL4PsqU","title":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"}]},{"id":"-MfabckEJONv15FcOAk6","title":"Lcd Functions Overview","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckFBW5pAST-CoOF","title":"lcd.RGB(r, g, b)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckGssFU9DWsIzuB","title":"lcd.clear([color])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckHgDln7EfDFAq9","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckIt-WmGN_uXyrU","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckJKDw-Sg5_Il9N","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckKl4i_yfgfxrDQ","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckLfpowGud90bQE","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckMEDsvTdHJjhER","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckNH5tj4IW9fD93","title":"lcd.drawNumber(x, y, value [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckOT1pmNobmD_gd","title":"lcd.drawPixmap(x, y, name)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckP5g3idEHM1eE2","title":"lcd.drawPoint(x, y)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckQQAxBTZsgIoY0","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckRKHxxilRwmYUg","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckSQUgWmnZnbPRE","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckT0gleA4OmNSmE","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckU8cDkMuFn1ecd","title":"lcd.drawText(x, y, text [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckVxDcaGFGeO_5j","title":"lcd.drawTimer(x, y, value [, flags])","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckWLG3sco8KPPMP","title":"lcd.getColor(area)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckXO5TRXgyI9AEP","title":"lcd.getLastLeftPos()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckYjhHwe6FwDkxT","title":"lcd.getLastPos()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckZVqRBSH-QhWmo","title":"lcd.getLastRightPos()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-Mfabck__OmtKe8eqO3L","title":"lcd.refresh()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckaDFpqSJhsD4zc","title":"lcd.resetBacklightTimeout()","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckbOaUKJP_FvZyN","title":"lcd.setColor(area, color)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Lcd Functions [//]: <> (LUADOC-BEGIN:lcd)"}]},{"id":"-MfabckcNc2BnTLoiGDk","title":"Bitmap Functions [//]: <> (LUADOC-BEGIN:Bitmap)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"}]},{"id":"-MfabckdCl9VOzvL3a2R","title":"Bitmap.getSize(name)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Bitmap Functions [//]: <> (LUADOC-BEGIN:Bitmap)"}]},{"id":"-MfabckejrxF7H6yGFkx","title":"Bitmap.open(name)","pathname":"/opentx_2.3/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part III - OpenTX Lua API Reference"},{"label":"Bitmap Functions [//]: <> (LUADOC-BEGIN:Bitmap)"}]},{"id":"-MfabckfaaTQ2cdJlwiC","title":"Part IV - Converting OpenTX 2.0 Scripts","pathname":"/opentx_2.3/part_iv_-_converting_opentx_20_scripts","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-Mfabckg0ZHgnPug0r4k","title":"General Issues","pathname":"/opentx_2.3/part_iv_-_converting_opentx_20_scripts/known_issues","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part IV - Converting OpenTX 2.0 Scripts"}]},{"id":"-MfabckhmnxSTu_XbTfP","title":"Handling GPS Sensor data","pathname":"/opentx_2.3/part_iv_-_converting_opentx_20_scripts/handling_gps_sensor_data","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part IV - Converting OpenTX 2.0 Scripts"}]},{"id":"-MfabckizKD31nXf9Wfr","title":"Handling Lipo Sensor Data","pathname":"/opentx_2.3/part_iv_-_converting_opentx_20_scripts/handling_lipo_sensor_data","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part IV - Converting OpenTX 2.0 Scripts"}]},{"id":"-Mfabckj6PKhTLO1mW2U","title":"Part V - Converting OpenTX 2.1 Scripts","pathname":"/opentx_2.3/part_v_-_converting_opentx_21_scripts","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-MfabckkwONC4Sk1Qgwm","title":"Part VI - Advanced Topics","pathname":"/opentx_2.3/part_vi_-_advanced_topics","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-Mfabckl6y9ijMLfMi5c","title":"Lua data sharing across scripts","pathname":"/opentx_2.3/part_vi_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part VI - Advanced Topics"}]},{"id":"-MfabckmKLR1Z2aR59p5","title":"Debugging techniques","pathname":"/opentx_2.3/part_vi_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part VI - Advanced Topics"}]},{"id":"-MfabcknxWAyDhots9Eu","title":"Speed/memory optimizaton tricks","pathname":"/opentx_2.3/part_vi_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part VI - Advanced Topics"}]},{"id":"-Mfabckob34OZwCWL9u6","title":"Part VII - Appendix","pathname":"/opentx_2.3/part_vii_-_appendix","siteSpaceId":"sitesp_j7vs2","description":""},{"id":"-Mfabckp0AQTp2F3Os-M","title":"Fonts","pathname":"/opentx_2.3/part_vii_-_appendix/fonts","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part VII - Appendix"}]},{"id":"-MfabckqzJVGm0WM-4hG","title":"Units","pathname":"/opentx_2.3/part_vii_-_appendix/units","siteSpaceId":"sitesp_j7vs2","description":"","breadcrumbs":[{"label":"Part VII - Appendix"}]},{"id":"-MgPcJhge-CYcarWDPzU","title":"EdgeTX 2.4 Lua Reference Guide","pathname":"/edgetx_2.4","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-MgPcJfVboDZmYECLLoQ","title":"Introduction","pathname":"/edgetx_2.4/introduction","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-MgPcJfWzMNanP-ampwW","title":"Acknowledgments","pathname":"/edgetx_2.4/introduction/acknowledgments","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"-MgPcJfXM0R7ik53AEox","title":"Getting Started","pathname":"/edgetx_2.4/introduction/getting_started","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"-MgPcJfYzxAI9lNXMh2f","title":"Part I - Script Type Overview","pathname":"/edgetx_2.4/part_i_-_script_type_overview","siteSpaceId":"sitesp_U3wcf","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used."},{"id":"-MgPcJfZFJUbf8wefRDQ","title":"Custom (Mixer) Scripts","pathname":"/edgetx_2.4/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MgPcJf_G0-E171_vJhH","title":"Telemetry Scripts","pathname":"/edgetx_2.4/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MgPcJfa-SKCKFDNeC98","title":"One-Time Scripts","pathname":"/edgetx_2.4/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MgPcJfbZjPIN86qViLd","title":"Wizard Script","pathname":"/edgetx_2.4/part_i_-_script_type_overview/wizard","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MgPcJfcIsUd0iF2TXzr","title":"Function Scripts","pathname":"/edgetx_2.4/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MgPcJfdnkK_LVavJAFs","title":"Widget Scripts","pathname":"/edgetx_2.4/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MgPcJffJwlBY2JcIcu8","title":"Part II - EdgeTX Lua API Programming Guide","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-Mhut4zRwjRyXGnP633h","title":"Lua Basics","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/lua-basics","siteSpaceId":"sitesp_U3wcf","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MhuvowWz5bK5QHz9mUX","title":"Loading Code Modules Dynamically","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/loading-code-modules-dynamically","siteSpaceId":"sitesp_U3wcf","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MhuwFlYFPtQm0ymwuTi","title":"Saving Memory","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/saving-memory","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MhuwJTQdRJejJGF53Ck","title":"Using Key and Touch Events","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/using-key-and-touch-events","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MgPcJflEO37HjsapkoO","title":"Included Lua Libraries","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MhusvxNUJUOqtcn7l4v","title":"bit32.Library","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/bit32.library","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"-MgPcJfmtnrshEawTkhA","title":"io Library","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"-MgPcJfn-sLBmN2G5FbK","title":"io.open()","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MgPcJfoNWdxohDeXrz2","title":"io.close()","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MgPcJfp7niwJ7gboMDj","title":"io.read()","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MgPcJfq6x8v779G0A5e","title":"io.write()","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MgPcJfrUFeBWciFMt6U","title":"io.seek()","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-Mhus_JJbRzuk4_tfbZB","title":"math.Library","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/math.library","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"-MhuslASQq4ublVMwxLx","title":"string.Library","pathname":"/edgetx_2.4/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/string.library","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"-MgPcJfst3UZbN-tSTak","title":"Part III - EdgeTX Lua API Reference","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-MgPcJftBGIcGqvZ6v8-","title":"Constants","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_U3wcf","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MgPcJfuKVhdN-OAUsM_","title":"Key Event Constants","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_U3wcf","description":"This page describes the value that is passed to scripts in the event parameter. It is used in Telemetry and One-Time scripts, as well as widget scripts in full screen mode.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MhkYKAfVEY8UkSBQDYH","title":"Touch Event Constants","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/constants/touch-event-constants","siteSpaceId":"sitesp_U3wcf","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MhkgUJjPBZ-RJDbFafq","title":"Flags and Pattern Constants","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_U3wcf","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MhkgqmcugAiEck10t5n","title":"Color Constants","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/constants/color-constants","siteSpaceId":"sitesp_U3wcf","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-Mhkhs2TVKvnr9ZOeoYz","title":"Screen Constants","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/constants/screen-constants","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MgPcJfveyAuVbP-2ABX","title":"General Functions","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MgPcJfwhVDfJ7sr8G_J","title":"GREY()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJfxKQvzxrXq10o0","title":"accessTelemetryPush()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJfyW-Ilt20cQssE","title":"chdir(directory)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJfz9hv24dZwNpz8","title":"crossfireTelemetryPop()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg-1TxsTW-GSkuI","title":"crossfireTelemetryPush()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg09DO9Rd1alUc7","title":"defaultChannel(stick)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg1qjybBwUXP76A","title":"defaultStick(channel)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MhrIVArE877K2HWVDI9","title":"getAvailableMemory()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getavailablememory","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg2xVTSR_JzOARQ","title":"getDateTime()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg3oyvqcO_oaXqH","title":"getFieldInfo(name)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg4wqMY27Xgnx2w","title":"getFlightMode(mode)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg5pXn95yQizSR8","title":"getGeneralSettings()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg64DLd0H3zf0za","title":"getGlobalTimer()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg7xy7IaVuy0saP","title":"getRAS()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg8d89eD_9aeYsC","title":"getRSSI()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJg9g1UMcgbwsReV","title":"getRotEncSpeed()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgAq6R3g9tHBzm7","title":"getRtcTime()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgB1nTmcytuJ1b8","title":"getTime()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgCy4eZmCQz-wvW","title":"getTxGPS()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgDf-mHobBfsXaB","title":"getUsage()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgEWfPo41vP_HwJ","title":"getValue(source)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgFvnwrgZ0GUDJH","title":"getVersion()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgGBdXMdE8N7Jaq","title":"killEvents(key)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgH7tB5mQqnM5Zv","title":"loadScript(file [, mode], [,env])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgIQIC_cIEs9Jvg","title":"multiBuffer(address[,value])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgJYheROBJvFwfq","title":"playDuration(duration [, hourFormat])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgK-rgdfWPTZyGm","title":"playFile(name)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgLNUJOE4NDFoSK","title":"playHaptic(duration, pause [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgMw3Nus4lHKVuH","title":"playNumber(value, unit [, attributes])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgNq2jS0zSVkQeo","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MhrIlY7WJPgPuiCvXVT","title":"popupConfirmation(title, message, event)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupconfirmation","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgOVZU3wJ4m7Kge","title":"popupInput(title, event, input, min, max)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgPVYLcaVJBXtzT","title":"popupWarning(title, event)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgQoMmGrblpj3tW","title":"resetGlobalTimer([type])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgR_c6eP73JSQBc","title":"serialRead([num])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgS4raiBPCJuEKc","title":"serialWrite(str)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MhrIxBFK0eJ2mwCKzrl","title":"setSerialBaudrate(baudrate)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setserialbaudrate","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgTGJa-N9C6xzor","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgUmQHlwkBUzscC","title":"sportTelemetryPop()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgVoZJtr8Nvu-zh","title":"sportTelemetryPush()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MgPcJgWxgREhqGOlHJm","title":"Model Functions","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MgPcJgXBA-F9E_QJXNR","title":"model.defaultInputs()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgY8iTP9vxTqjaa","title":"model.deleteFlightModes()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgZsgn7zPaDoNsG","title":"model.deleteInput(input, line)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJg_m_kBesiVc9Ix","title":"model.deleteInputs()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgawR1mFtXY0tSu","title":"model.deleteMix(channel, line)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgbV_Q6rVWgb4I8","title":"model.deleteMixes()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgcEMnyKS8iyebF","title":"model.getCurve(curve)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgdr50bw2svV2HX","title":"model.getCustomFunction(function)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgeLiFtwk3ub1Yt","title":"model.getFlightMode(index)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgfBIGGgl5-P8w-","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJggTi96wB8GLEBO","title":"model.getInfo()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJghKwI-nwBg1MAq","title":"model.getInput(input, line)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgiq8bPOyP5IlVv","title":"model.getInputsCount(input)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgjcjwGd-eKrBAO","title":"model.getLogicalSwitch(switch)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgkurBzlbbnpVCF","title":"model.getMix(channel, line)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgldTU-MRnL2rUc","title":"model.getMixesCount(channel)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgmoYx8hnn94MN9","title":"model.getModule(index)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgnvwD8qgYsCGTm","title":"model.getOutput(index)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgoGbBx4URpIxWG","title":"model.getSensor(sensor)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgp8gY0URy-VUNO","title":"model.getTimer(timer)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgqruyYTtBz1ejF","title":"model.insertInput(input, line, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgrteHT8DobJwSW","title":"model.insertMix(channel, line, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgs05-UVQPl8j_x","title":"model.resetSensor(sensor)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgt97kCK3W5WVxs","title":"model.resetTimer(timer)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJguZx63RrEb1NP3","title":"model.setCurve(curve, params)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgvIfFUbRTzkfNv","title":"model.setCustomFunction(function, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgwviNA9P3IyIS_","title":"model.setFlightMode(index, params)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgxPJ5qFqQ4qzi8","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgyu9Wv4P7PuW3M","title":"model.setInfo(value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJgzp3vxhxfNv16E","title":"model.setLogicalSwitch(switch, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJh-DPRyw4__-2zk","title":"model.setModule(index, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJh0rzLni2h_2x4Q","title":"model.setOutput(index, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJh1Lfd6g-VjBoaL","title":"model.setTimer(timer, value)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MgPcJh2u6OQU3TH44o3","title":"Lcd Functions","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MgPcJh3nLoRmwc6tPcV","title":"Lcd Functions Overview","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJh4GTXRAiXdFSt0","title":"lcd.RGB(r, g, b)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJh50vE5TWDtcw9L","title":"lcd.clear([color])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm1rYXO603XGaaAo","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm1s_C2gCIw0waFb","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJh6fkqc4n-Vmgwu","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJh7Iuf9rAm-_4hd","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm1vdavBLVqd2Qiw","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJh8adUlBKZN3Qkx","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm1x6YpU7Gexlce2","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJh9YtPr3JTJC6D_","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm1z52YApZO7kaij","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhAVa0UhcHfvwvH","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm20-mHH6-XVD-xG","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhBEbN2uv3ybUmH","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm22B8ChVYwyzOnE","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhCswksjXje8cG7","title":"lcd.drawNumber(x, y, value [, flags [, inversColor]])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm24dMW2TsOD5Qts","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhD9LxC4tjEQ2bD","title":"lcd.drawPixmap(x, y, name)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhECv_EzTf6Fvm3","title":"lcd.drawPoint(x, y)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhFXv1XwRZMcvuj","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhGg7ITxUnZFcdB","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhHAJLiBrw8zYGY","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhIyr_jzBMJbX_4","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhJeoaKcJx5W8DQ","title":"lcd.drawText(x, y, text [, flags [, inversColor]])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhKhjVjMmHm2-st","title":"lcd.drawTimer(x, y, value [, flags [, inversColor]])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm2D14DKJZSOWNWN","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhLbXGDdIqvXwFt","title":"lcd.getColor(flags)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhMgyy6QJQRCLYo","title":"lcd.getLastLeftPos()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhNpU6VO9rkgV3b","title":"lcd.getLastPos()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhO3zN5q-NCJvF7","title":"lcd.getLastRightPos()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhP39IgwHOHv8Qa","title":"lcd.refresh()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhQ8m9WlK_hlfGW","title":"lcd.resetBacklightTimeout()","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhRNvCVh9U9lmhC","title":"lcd.setColor(colorIndex, color)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MhpTm2L4bc4Cw6lroI-","title":"lcd.sizeText(text [, flags])","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MgPcJhSKN4r7_0bbXrU","title":"Bitmap Functions","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MgPcJhT-_3BV_iwApqg","title":"Bitmap.getSize(name)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"-MgPcJhUkOpCWN-MegT5","title":"Bitmap.open(name)","pathname":"/edgetx_2.4/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"-MgPcJhVcX8X3BdWzER-","title":"Part IV - Converting OpenTX 2.0 Scripts","pathname":"/edgetx_2.4/part_iv_-_converting_opentx_20_scripts","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-MgPcJhWXwsA0k-CxCif","title":"General Issues","pathname":"/edgetx_2.4/part_iv_-_converting_opentx_20_scripts/known_issues","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part IV - Converting OpenTX 2.0 Scripts"}]},{"id":"-MgPcJhX0iouRbhWUnYb","title":"Handling GPS Sensor data","pathname":"/edgetx_2.4/part_iv_-_converting_opentx_20_scripts/handling_gps_sensor_data","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part IV - Converting OpenTX 2.0 Scripts"}]},{"id":"-MgPcJhYvEG18sBby5_z","title":"Handling Lipo Sensor Data","pathname":"/edgetx_2.4/part_iv_-_converting_opentx_20_scripts/handling_lipo_sensor_data","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part IV - Converting OpenTX 2.0 Scripts"}]},{"id":"-MgPcJhZXAZ9egouw2f7","title":"Part V - Converting OpenTX 2.1 Scripts","pathname":"/edgetx_2.4/part_v_-_converting_opentx_21_scripts","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-MgPcJh_cZdofuHtJzrc","title":"Part VI - Advanced Topics","pathname":"/edgetx_2.4/part_vi_-_advanced_topics","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-MgPcJharjfDReODfTNi","title":"Lua data sharing across scripts","pathname":"/edgetx_2.4/part_vi_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part VI - Advanced Topics"}]},{"id":"-MgPcJhbHoHFcKDj7qZ_","title":"Debugging techniques","pathname":"/edgetx_2.4/part_vi_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part VI - Advanced Topics"}]},{"id":"-MgPcJhcQE9Vb9YTEoNK","title":"Speed/memory optimizaton tricks","pathname":"/edgetx_2.4/part_vi_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part VI - Advanced Topics"}]},{"id":"-MgPcJhd6bit9mYhAtMq","title":"Part VII - Appendix","pathname":"/edgetx_2.4/part_vii_-_appendix","siteSpaceId":"sitesp_U3wcf","description":""},{"id":"-MgPcJheOsU6fcQhd2yj","title":"Fonts","pathname":"/edgetx_2.4/part_vii_-_appendix/fonts","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part VII - Appendix"}]},{"id":"-MgPcJhf4ub6d13Kz6Iz","title":"Units","pathname":"/edgetx_2.4/part_vii_-_appendix/units","siteSpaceId":"sitesp_U3wcf","description":"","breadcrumbs":[{"label":"Part VII - Appendix"}]},{"id":"-MiOJG8tI6tDZKQ-Lq2Y","title":"EdgeTX 2.5 Lua Reference Guide","pathname":"/edgetx_2.5","siteSpaceId":"sitesp_C87dv","description":""},{"id":"-MiOJG6QRFprDd9_HS_M","title":"Introduction","pathname":"/edgetx_2.5/introduction","siteSpaceId":"sitesp_C87dv","description":""},{"id":"-MiOJG6Ro6vffpJp-TrH","title":"Acknowledgments","pathname":"/edgetx_2.5/introduction/acknowledgments","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"-MiOJG6SC4efRoez30_N","title":"Getting Started","pathname":"/edgetx_2.5/introduction/getting_started","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"-MiOJG6Tyic2BD5aB99B","title":"Part I - Script Type Overview","pathname":"/edgetx_2.5/part_i_-_script_type_overview","siteSpaceId":"sitesp_C87dv","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used."},{"id":"-MiOJG6UQjXDTHuqeObL","title":"Custom (Mixer) Scripts","pathname":"/edgetx_2.5/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MiOJG6V05gBzPNYSNam","title":"Telemetry Scripts","pathname":"/edgetx_2.5/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MiOJG6WlEUNy7a8VwpV","title":"One-Time Scripts","pathname":"/edgetx_2.5/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MiOJG6Xro3FcfrCG4YM","title":"Wizard Script","pathname":"/edgetx_2.5/part_i_-_script_type_overview/wizard","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MiOJG6YQeEgyWKN-G1S","title":"Function Scripts","pathname":"/edgetx_2.5/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MiOJG6ZU6r4y7ntPd5W","title":"Widget Scripts","pathname":"/edgetx_2.5/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"-MiOJG6_9QsKOtT2KxjF","title":"Part II - EdgeTX Lua API Programming Guide","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_C87dv","description":""},{"id":"-MiOJG6axiY92QLU6Opy","title":"Lua Basics","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/lua-basics","siteSpaceId":"sitesp_C87dv","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MiOJG6bH7HvMz0P4vup","title":"Loading Code Modules Dynamically","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/loading-code-modules-dynamically","siteSpaceId":"sitesp_C87dv","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MiOJG6cqOT0hK1v8BZ1","title":"Saving Memory","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/saving-memory","siteSpaceId":"sitesp_C87dv","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MiOJG6dsUJ0-9S3PQtD","title":"Using Key and Touch Events","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/using-key-and-touch-events","siteSpaceId":"sitesp_C87dv","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MjpgN52deJT90nYAAJE","title":"Drawing Flags and Colors","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/drawing-flags-and-colors","siteSpaceId":"sitesp_C87dv","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MiOJG6ese_qfg5iGZOs","title":"Included Lua Libraries","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"-MiOJG6gI8_jbFGIIyJi","title":"io Library","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"-MiOJG6hpOWQbjoMpAHF","title":"io.open()","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MiOJG6iPACdtEXmuzVS","title":"io.close()","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MiOJG6jgmTMAWHocfmr","title":"io.read()","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MiOJG6kI7AmnmUP8_kd","title":"io.write()","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MiOJG6l-IIRIwJaxoS1","title":"io.seek()","pathname":"/edgetx_2.5/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"-MiOJG6oMgkrZ5eqBnev","title":"Part III - EdgeTX Lua API Reference","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_C87dv","description":""},{"id":"-MiOJG6pavhecUQUjwya","title":"Constants","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_C87dv","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MiOJG6q4IrK1fi_NMW6","title":"Key Event Constants","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_C87dv","description":"This page describes the value that is passed to scripts in the event parameter. It is used in Telemetry and One-Time scripts, as well as widget scripts in full screen mode.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MiOJG6rvTtNmnSEOWmV","title":"Touch Event Constants","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants/touch-event-constants","siteSpaceId":"sitesp_C87dv","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MiOJG6sZqhqLXUB81Js","title":"Flags and Pattern Constants","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_C87dv","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MiOJG6tbW1NUJo0RphZ","title":"Color Constants","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants/color-constants","siteSpaceId":"sitesp_C87dv","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MiOJG6uF1PCX9mPQ4nq","title":"Screen Constants","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants/screen-constants","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"-MiOJG6vC0twKKKqz_XJ","title":"General Functions","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MiOJG6wb0epVyWAD3In","title":"GREY()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG6xS57QnyIUWpaH","title":"accessTelemetryPush()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG6yC5T4eEQaEQfc","title":"chdir(directory)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG6zvT8KtdQwRmSk","title":"crossfireTelemetryPop()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7-LjLyOEKfhdsk","title":"crossfireTelemetryPush()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG703S2wYb2jYIQA","title":"defaultChannel(stick)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG71EG2ZrfnxYQ1d","title":"defaultStick(channel)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG72clmskk8g8xG4","title":"getAvailableMemory()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getavailablememory","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG736Ikjrke5ADz-","title":"getDateTime()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG74zCHIl4S1odqm","title":"getFieldInfo(name)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG75iFuWGIsDPh-f","title":"getFlightMode(mode)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG76u2ptRHa92VlY","title":"getGeneralSettings()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG77Ac60_13xofiK","title":"getGlobalTimer()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG78R0ZodR7IGC0h","title":"getRAS()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG79gDHpdqaK6TAZ","title":"getRSSI()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7Ah45Z8XrOWJor","title":"getRotEncSpeed()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7B4n6QuF8H9c_d","title":"getRtcTime()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7Ca-03HIVeiZUy","title":"getTime()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7DPtZzwfOon8f0","title":"getTxGPS()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7E-TUuF-wQeSAq","title":"getUsage()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7Fw9C7efquAFeJ","title":"getValue(source)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7GfV6AHTVffFWR","title":"getVersion()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7HK4fJZtmURVVu","title":"killEvents(key)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7IwCMNW92R1ksd","title":"loadScript(file [, mode], [,env])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7JZqUx0hh1kpJW","title":"multiBuffer(address[,value])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7KUv4CmAXUDiGy","title":"playDuration(duration [, hourFormat])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7Lu8kxIbgyc6Fh","title":"playFile(name)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7M9So3y_gASoYd","title":"playHaptic(duration, pause [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7NuwJNhZ5G71zD","title":"playNumber(value, unit [, attributes])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7OgfOswZpdUIGG","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7PnaPBZL6aaV3M","title":"popupConfirmation(title, message, event)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupconfirmation","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7QmrwvyUd1jT2V","title":"popupInput(title, event, input, min, max)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7RK0yuvNvJu8C-","title":"popupWarning(title, event)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7SGFnI-tLYiDUL","title":"resetGlobalTimer([type])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7ThcAMdyem15b8","title":"serialRead([num])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7UiIG8JuADEvzX","title":"serialWrite(str)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7VSGV5fv4XvOdg","title":"setSerialBaudrate(baudrate)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setserialbaudrate","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7Wv2hCBFF0IQlK","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7XKnPZjMzst3To","title":"sportTelemetryPop()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7Yzaf5BPDvtXXS","title":"sportTelemetryPush()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"-MiOJG7Zgr7awDythRCj","title":"Model Functions","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MiOJG7_gAdNbPOj6dv2","title":"model.defaultInputs()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7a5z1g259XsSbe","title":"model.deleteFlightModes()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7bV11UMRtyCpHd","title":"model.deleteInput(input, line)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7cWZB3yl_hkMl6","title":"model.deleteInputs()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7d_c3UqGdUSUEb","title":"model.deleteMix(channel, line)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7eXecHRYZRFtQ1","title":"model.deleteMixes()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7fo7-qEcT8T68W","title":"model.getCurve(curve)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7g-oDD6ZQzjEIv","title":"model.getCustomFunction(function)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7hwbf0hWs8Rnn8","title":"model.getFlightMode(index)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7iRDkGU6VVj02R","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7jvyZVRxjUrEI8","title":"model.getInfo()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7krvBo6FtW4aLg","title":"model.getInput(input, line)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7lvcmKdnls-1GB","title":"model.getInputsCount(input)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7mi1W4r-45Zjl0","title":"model.getLogicalSwitch(switch)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7nDSAJ3w2DJS8m","title":"model.getMix(channel, line)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7ohuSlrea3jW9c","title":"model.getMixesCount(channel)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7pqJrWY2tR4WnC","title":"model.getModule(index)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7q45W0gohB4i8B","title":"model.getOutput(index)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7rgtA7d3NL0npn","title":"model.getSensor(sensor)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7svspTdbL3Nr01","title":"model.getTimer(timer)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7trsMAcQbw2ZDw","title":"model.insertInput(input, line, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7uvZwVNJz-sNfA","title":"model.insertMix(channel, line, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7vug1G-atYKzcV","title":"model.resetSensor(sensor)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7wwXUNZBaVHbzh","title":"model.resetTimer(timer)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7xWb82jp3SMzjb","title":"model.setCurve(curve, params)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7yDV4qK6qM5j-p","title":"model.setCustomFunction(function, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG7zAuKPh6HsN2uh","title":"model.setFlightMode(index, params)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG8-PbJ-QfX_xvmw","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG808BL8jtM88mfl","title":"model.setInfo(value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG81OSfx0r3zrVGf","title":"model.setLogicalSwitch(switch, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG827H4rES7-BmJe","title":"model.setModule(index, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG839Rb9NbXZpw7W","title":"model.setOutput(index, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG84QQcYKgyDiSru","title":"model.setTimer(timer, value)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"-MiOJG85pATX6caogNQ0","title":"Lcd Functions","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MiOJG86Z-knsq4KYXqB","title":"Lcd Functions Overview","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG87-1B7wqDMPcWl","title":"lcd.RGB(r, g, b | rgb)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG88QCsjZcdQVkxj","title":"lcd.clear([color])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG89VUSExppWD-C8","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8A-GL7edUEK6Of","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8BIFPzkb5orJ0x","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8C9qVpzKAAx-K6","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8D7KMj2MKgfa__","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8E9nw7d3ojHlfu","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8FNKwxqeIh_4ak","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8Goz9fBidJ0Lw_","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8H1Ipj8K8B8bCt","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8Im4cih6AUWMLt","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8JzEbCuMB8ECkK","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8KYKB6I1GF7mEP","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8L3riB2LuqfgUY","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8MtUqgKcrpNprn","title":"lcd.drawNumber(x, y, value [, flags [, inversColor]])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8NVrDU7v4Xtu1l","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8OQPO3BvvcD3NY","title":"lcd.drawPixmap(x, y, name)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8PUMof6fwR-qty","title":"lcd.drawPoint(x, y)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8QrCvBKObOXxop","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8RHx1WKbeCR9Sd","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8SBzrCzLvSMtWm","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8T9_DS7V6asYjw","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8UCKeAw3-XpDSd","title":"lcd.drawText(x, y, text [, flags [, inversColor]])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MifRzr6ibPwA-lCLDY7","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawtextlines-x-y-w-h-text-flags","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8VufgZPUBKGrz1","title":"lcd.drawTimer(x, y, value [, flags [, inversColor]])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8W4ta2YJ-mSMUW","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MjJxHPYhi4FJ3G0zGUi","title":"lcd.exitFullScreen()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8X7OgqAjWtB-sY","title":"lcd.getColor(flags)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8YLHDBfyC3_oo8","title":"lcd.getLastLeftPos()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8ZewgUsn9uyGQQ","title":"lcd.getLastPos()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8_9yLgGFs-DWHg","title":"lcd.getLastRightPos()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8aUNkAtGnRvnx9","title":"lcd.refresh()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8b1M6DARpT9EXX","title":"lcd.resetBacklightTimeout()","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8cUHidnifZAmJb","title":"lcd.setColor(colorIndex, color)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8dZXCCdhjaRqlq","title":"lcd.sizeText(text [, flags])","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"-MiOJG8eBivbJC8qpIjx","title":"Bitmap Functions","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MiOJG8fLbxSqJhtoIF2","title":"Bitmap.getSize(name)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"-MiOJG8gSuR5BvYb42h8","title":"Bitmap.open(name)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"-MifSbxDlzNPz-DXCb7m","title":"Filesystem","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/filesystem","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"-MifSl9lRdQC46Q6syuA","title":"dir(directory)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/filesystem/dir-directory","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"-MifTvrDtZMV13VdeErG","title":"fstat(path)","pathname":"/edgetx_2.5/part_iii_-_opentx_lua_api_reference/filesystem/fstat-path","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"-MiOJG8mx4Vv0ObFMHgT","title":"Part IV - Advanced Topics","pathname":"/edgetx_2.5/part_iv_-_advanced_topics","siteSpaceId":"sitesp_C87dv","description":""},{"id":"-MiOJG8nWAVC84FxKhYg","title":"Lua data sharing across scripts","pathname":"/edgetx_2.5/part_iv_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"-MiOJG8otnpikOJst46t","title":"Debugging techniques","pathname":"/edgetx_2.5/part_iv_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"-MiOJG8pOz5J_uVGAJZQ","title":"Speed/memory optimizaton tricks","pathname":"/edgetx_2.5/part_iv_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"-MiOJG8qej09OcWgwB4R","title":"Appendix","pathname":"/edgetx_2.5/appendix","siteSpaceId":"sitesp_C87dv","description":""},{"id":"-MiOJG8rZm0yCKhFpYh4","title":"Fonts","pathname":"/edgetx_2.5/appendix/fonts","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"-MiOJG8srLFXpcPrmGwb","title":"Units","pathname":"/edgetx_2.5/appendix/units","siteSpaceId":"sitesp_C87dv","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"JsUEOy1CpEPvWQ4lUwjA","title":"EdgeTX 2.6 Lua Reference Guide","pathname":"/edgetx-2.6","siteSpaceId":"sitesp_BVmML","description":""},{"id":"4rWbdulTGMFnsRJXZ2d0","title":"Introduction","pathname":"/edgetx-2.6/introduction","siteSpaceId":"sitesp_BVmML","description":""},{"id":"KNthpsrQXahHTDXjo33z","title":"Acknowledgments","pathname":"/edgetx-2.6/introduction/acknowledgments","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"2iVPKH3dGRRAPtapMVGH","title":"Getting Started","pathname":"/edgetx-2.6/introduction/getting_started","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"onLVqUID9dxs8ckQfKeU","title":"Part I - Script Type Overview","pathname":"/edgetx-2.6/part_i_-_script_type_overview","siteSpaceId":"sitesp_BVmML","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used."},{"id":"vIaWsjZLQM1WXA7CjIk3","title":"Custom (Mixer) Scripts","pathname":"/edgetx-2.6/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"MWGGmzzS9W5grltt1YzU","title":"Telemetry Scripts","pathname":"/edgetx-2.6/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"YJfxXbAQG9xBnYB0nrW5","title":"One-Time Scripts","pathname":"/edgetx-2.6/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"FNXga3U2qPXBQDejTgJY","title":"Wizard Script","pathname":"/edgetx-2.6/part_i_-_script_type_overview/wizard","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"7uuacJweUb6S8ourunEs","title":"Function Scripts","pathname":"/edgetx-2.6/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"vJKLHnvY4XMiJiG4MsRz","title":"Widget Scripts","pathname":"/edgetx-2.6/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"Q9kvuIAUGRy9f54VA8xU","title":"Part II - EdgeTX Lua API Programming Guide","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_BVmML","description":""},{"id":"5TBwHCjk8NBtpfbGysOO","title":"Lua Basics","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/lua-basics","siteSpaceId":"sitesp_BVmML","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"j9eZSK2yVhAtFKWMk91A","title":"Loading Code Modules Dynamically","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/loading-code-modules-dynamically","siteSpaceId":"sitesp_BVmML","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"a88COpOCmZu7au9Iu7ck","title":"Saving Memory","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/saving-memory","siteSpaceId":"sitesp_BVmML","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"io39KnV6mUvMPwnJBKz3","title":"Using Key and Touch Events","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/using-key-and-touch-events","siteSpaceId":"sitesp_BVmML","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"YsfuoiUe7Kg5wtV0MNCn","title":"Drawing Flags and Colors","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/drawing-flags-and-colors","siteSpaceId":"sitesp_BVmML","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"M8DTFMoJyg0YdmEPajZY","title":"Data Exchange with the EdgeTX Model Setup","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/data-exchange-with-the-edgetx-model-setup","siteSpaceId":"sitesp_BVmML","description":"An EdgeTX model has several data components that can be exchanged with Lua scripts. This section gives an overview.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"1oIFHX3qkSgzUVvERozZ","title":"Included Lua Libraries","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"J5o3DUbpiqgtKJyBhZKq","title":"io Library","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"mG5apUBNgEGahc76m95G","title":"io.open(filename [, mode])","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"oDi2PN2B8h9AH9lOlUYI","title":"io.close(file)","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"MhwAMHwJJTzRZoglsh03","title":"io.read()","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"x0qY2mOLrI5z5QGlCTIY","title":"io.write()","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"oPBfr32Vz8eoE0zTc7GQ","title":"io.seek()","pathname":"/edgetx-2.6/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"RNJHu5gung3JGr5meo2t","title":"Part III - EdgeTX Lua API Reference","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_BVmML","description":""},{"id":"kw3KYncGDNzBP4taXZch","title":"Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_BVmML","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"iFTXJTS3tt1XUFZeShVw","title":"Key Event Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_BVmML","description":"This page describes the value that is passed to scripts in the event parameter. It is used in Telemetry and One-Time scripts, as well as widget scripts in full screen mode.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"U3ohTOY08VkEUZJC0AOC","title":"Touch Event Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/touch-event-constants","siteSpaceId":"sitesp_BVmML","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"qayTLn4Y7zyHCSS3q0Zg","title":"Flags and Pattern Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_BVmML","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"ycnKMFT9wfw8Rl5L864r","title":"Color Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/color-constants","siteSpaceId":"sitesp_BVmML","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"TEF457z74rlavKWDMkHv","title":"Special Character Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/special-character-constants","siteSpaceId":"sitesp_BVmML","description":"The radio's special characters can be used with the following text constants.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"daK1u272E3ewskXjoZGW","title":"Screen Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/screen-constants","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"YkIdWYufTvd5HpvUG5Zx","title":"Logical Switch Function Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/logical-switch-function-constants","siteSpaceId":"sitesp_BVmML","description":"These constants give the type of logical switch function.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"vtg20Pk01nT1ekIDzBt4","title":"Special Function Constants","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/special-function-constants","siteSpaceId":"sitesp_BVmML","description":"These constants determine the type of a Special Function","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"C4gZRa9Try8dpU9WRVoX","title":"General Functions","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"Rnt4ZqrAlXpqNXa1yzRU","title":"GREY()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"C0cpkR3JzDKjFFSeye8U","title":"accessTelemetryPush()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"7UVN7isk5Dh6tlZLAG72","title":"chdir(directory)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"xwRjQk5dNjImwPkQZbCh","title":"crossfireTelemetryPop()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"EE5uoUhEFy2Wnokd2N2p","title":"crossfireTelemetryPush()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"6Lh0MYSynmalA7um1cBL","title":"defaultChannel(stick)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"5283Gdj608m1qMJqkx9v","title":"defaultStick(channel)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"he9S5c0lJyfdNkF5OOls","title":"getAvailableMemory()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getavailablememory","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"AgwowcIdKZ8eCASMpAsP","title":"getDateTime()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Uw2BkrZJS3vZytSdoAzM","title":"getFieldInfo(source)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"piSGwdcmUACKqIY3vSj2","title":"getFlightMode(mode)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"jmMgWu1vuEhsbs9hEaKj","title":"getGeneralSettings()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"sSVpmeu1ZpWAcg4hnR7l","title":"getGlobalTimer()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"RAD6KpAFqRunnUH6KD6r","title":"getLogicalSwitchValue(id)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getlogicalswitchvalue-id","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"JvazADhTCwDIlCPz7v2b","title":"getRAS()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"gpRWCWI0lwrom52MFBTr","title":"getRSSI()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"D4bUG053MX4Grv8ElN5B","title":"getRotEncSpeed()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"N3aYTXDJtu7YIYTirPXY","title":"getRtcTime()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"za50uqPehn4fLHuKqzgd","title":"getShmVar(id)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getshmvar-id","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Q6QTsRhyojCyxcvq0ons","title":"getSourceIndex(sourceName)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourceindex-sourcename","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"8Q7YYNt3vCG1M4AieFqh","title":"getSourceName(sourceIndex)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcename-sourceindex","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"NBTeLGGoQOAVK8rWFKUo","title":"getSwitchIndex(positionName)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchindex-positionname","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"pPHB9zAKlkof3zJpTLx4","title":"getSwitchName(switchIndex)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchname-switchindex","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"cT2NgAiPdlVr5YDrOovH","title":"getSwitchValue(switchIndex)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchvalue-switchindex","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"UhIMOk23ppbVtdJpxqIr","title":"getTime()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"pf4kF0W51wETMe9fLvRO","title":"getTxGPS()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"gAlzUYWd3SetaEy0NMkU","title":"getUsage()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"hySH69v7MIlLcOBqT7tC","title":"getValue(source)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"VngNRNEwpKiceNaNxKB0","title":"getVersion()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"QYaJihNC1cCa5MDtCfCp","title":"killEvents(key)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"YJjG0GIGjw1QeroYtgtG","title":"loadScript(file [, mode], [,env])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"nN6Q1EgdwlkCHbO247Ob","title":"multiBuffer(address[,value])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"fixf6Ap8MYKdTbKIAq2V","title":"playDuration(duration [, hourFormat])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"wBaC8U9PIJ3GjC9lD9OW","title":"playFile(name)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"7up3uqn73OKYVPpWwNgc","title":"playHaptic(duration, pause [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"IDota9dT9AoXkn6EWfNo","title":"playNumber(value, unit [, attributes])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"mVt2qxpMmlMXv7uBrpjB","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"BhFWyeTqsUImgK7w2hSm","title":"popupConfirmation(title, message, event)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupconfirmation","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"dddBBfOqiqPhVmVQbMD2","title":"popupInput(title, event, input, min, max)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"TwbV82X4IZafrVxAjXBs","title":"popupWarning(title, event)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Hsar5lUbnkwrez4JUmz6","title":"resetGlobalTimer([type])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Ob8x1pJ8v78ESAXLUeOf","title":"serialRead([num])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"yoHoWFqmLJmWs8fij4uY","title":"serialWrite(str)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"E517yJkIWtqoWQEchI5u","title":"setSerialBaudrate(baudrate)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setserialbaudrate","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"0y4Nfh9QT1eJCifIMVoI","title":"setShmVar(id, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setshmvar-id-value","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"dhTuWy9VwISfhM5nFVl0","title":"setStickySwitch(id, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setstickyswitch-id-value","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"nMpugLhkVoM6OYtFVjzy","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"P765ZN2Z9PUveqNjdXCJ","title":"sources([first[, last]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sources-first-last","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"eAk3tK6CYK4Rl6HiwkvE","title":"sportTelemetryPop()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"mzTJoFkibJEal5XsZpgQ","title":"sportTelemetryPush()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"giuGkPq6XeKYLWhClHZE","title":"switches([first[, last]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/switches-first-last","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"WZNf1DHVSbwakINHCoFu","title":"Model Functions","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"eSQR1wj88AM9rWCypGqq","title":"model.defaultInputs()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"DfZppxr9Hh6uJsKbOH05","title":"model.deleteFlightModes()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"vyfWW9XeKJJgCTeXYN9h","title":"model.deleteInput(input, line)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"myj6EQSDPaW8ogg6dhOt","title":"model.deleteInputs()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"3CeCMGTf4KG6xtCE7oZY","title":"model.deleteMix(channel, line)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"zfh3X3vcuN2sJlRRGiOb","title":"model.deleteMixes()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"U1HnQMlk3Y7NXRQCcQnV","title":"model.getCurve(curve)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6Iw72z63PErSV1CF9bIi","title":"model.getCustomFunction(function)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ti0RmMr6xg5XbuiTYMOD","title":"model.getFlightMode(index)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"esuARkpsOgXIXWHiOqv2","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"FnrUqMnYcii8Gjj4vAmo","title":"model.getInfo()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"krbTxh965gmHzb5WV6Sk","title":"model.getInput(input, line)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"b9Ml8tWPZzhZH06vDQ9q","title":"model.getInputsCount(input)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"AHXL4JsecoxP22tjrLPI","title":"model.getLogicalSwitch(switch)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"SQrNEl9ZutZW6KJX8fEe","title":"model.getMix(channel, line)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"z3cdXmLMKLzQpC1FeGw8","title":"model.getMixesCount(channel)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"hMsGzXkJZGlIwRuAeate","title":"model.getModule(index)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"cHCY1Ds9ZgrEd9ozqMwm","title":"model.getOutput(index)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Bjot1AUwEOebwqfcZhW7","title":"model.getSensor(sensor)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"FqkGKUqWPIBpUOZTwB8u","title":"model.getTimer(timer)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"FBXk9PmeIv4fGbRJouic","title":"model.insertInput(input, line, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"N375rPbxSRXTBCvjnblP","title":"model.insertMix(channel, line, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"IrhmGcBiPN039K0QXglV","title":"model.resetSensor(sensor)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"O4gzmANKEQztMnS651nb","title":"model.resetTimer(timer)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"XfGK3K1fBrSPcOIt52CH","title":"model.setCurve(curve, params)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"P5VKRzmjXPIks5aKUNEx","title":"model.setCustomFunction(function, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"TTJmcU86EIFz68Idae0N","title":"model.setFlightMode(index, params)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ZIesQi8UBUIrzgM5aBaK","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"KBsqxWeOzl75CCQmBtLf","title":"model.setInfo(value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Pm4u6V0BSx3CpHlcc4i8","title":"model.setLogicalSwitch(switch, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"eCdKV7mmmBbnh4r32aOk","title":"model.setModule(index, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"5SsmW19yswo8WCCjV5nZ","title":"model.setOutput(index, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Fvp5mpzikEAkRmTyLFZK","title":"model.setTimer(timer, value)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"J4CqdGybCKgmfTieKTrL","title":"Lcd Functions","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"rwJgqiNBxYxfUt0ePart","title":"Lcd Functions Overview","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"PJVzKZX2Pivnj8RZLFse","title":"lcd.RGB(r, g, b | rgb)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"jP07GNiGyj82OIhSm0n1","title":"lcd.clear([color])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"wSYd8Bqrqk6EdECJ3Q3a","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"yUDKXzCNEnC8vg8ykt4q","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"dLt5GIJlmD6AeZTFfjBY","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"FlTYHeemm7Ef0kzqHE6n","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"qYGCq8Nb8wKcstbTZBEJ","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"AYyn957wwtiqNtkELALE","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"wV0EvgMOQApsoU3fpgPN","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"f5mnZE9n0OyHWEwx7Udn","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"LkDO3TgjXbcrDlEQVvQn","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"b1BjeBSsWKsZOOLO6p7E","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"XDdppxr0Xllg9kV03DwD","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"4hwGzcGk7aT5qIk48jxK","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"zzNpbCMghvSBD6jQC1hO","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ofDc65rvpxyKBuTXIerK","title":"lcd.drawNumber(x, y, value [, flags [, inversColor]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"HXsDOJQsJfAFOHmrnk7K","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"v2rd7FAud9eP7IUajKVm","title":"lcd.drawPixmap(x, y, name)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"yyBy565cSjJZfr9hXua6","title":"lcd.drawPoint(x, y)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"fTYYnvUIlL1VfxVgJIjH","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"RsffJEr0gFXuZHlaRAAM","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"3dTRhBdgf8jnvrHET5cM","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ql4NIMibgrn3DM4nRZC6","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"wl2f6wNJdVAxhigLyclW","title":"lcd.drawText(x, y, text [, flags [, inversColor]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"OT2UG6pQOOS5r3QrLQmA","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawtextlines-x-y-w-h-text-flags","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"47WYSYIL9zcAiCde9ABb","title":"lcd.drawTimer(x, y, value [, flags [, inversColor]])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"QkdYUvAyGJrnKVZcOOpr","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"J0Lpz9i8DQFRXGSV2Qer","title":"lcd.exitFullScreen()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"XrilG0sJSugHGFUZfAF5","title":"lcd.getColor(flags)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"Tonl6rJEQTc7IYRWZE8R","title":"lcd.getLastLeftPos()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"JMVDSZSm7SMwJAB3Fyhb","title":"lcd.getLastPos()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"KS9eCXcswO5Q3mUb1TF9","title":"lcd.getLastRightPos()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"UtZvun44p0UmlqJZRpnn","title":"lcd.refresh()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"Zw9zmqJraNUatSRBFu0x","title":"lcd.resetBacklightTimeout()","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"E1g3AeZmh3aX6O2JodgA","title":"lcd.setColor(colorIndex, color)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"LF8F6mONFNTnwNEn7Y0b","title":"lcd.sizeText(text [, flags])","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"bhES484Driatz2s2ObM6","title":"Bitmap Functions","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"dXLG9tQUCbVrdZztdYFd","title":"Bitmap.getSize(name)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"Ep1Pwiks6dwppp1C1Nio","title":"Bitmap.open(name)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"e4ZcOVzJh1iBvb92DBOx","title":"Filesystem","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/filesystem","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"u0HXH7yc370OCo9frpAO","title":"dir(directory)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/filesystem/dir-directory","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"58Bh7kiwyeu0M9DueT1M","title":"fstat(path)","pathname":"/edgetx-2.6/part_iii_-_opentx_lua_api_reference/filesystem/fstat-path","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"Mb5wOnN8EICGh0NdQXs0","title":"Part IV - Advanced Topics","pathname":"/edgetx-2.6/part_iv_-_advanced_topics","siteSpaceId":"sitesp_BVmML","description":""},{"id":"98NaWyb9z66t6YLbfBsU","title":"Lua data sharing across scripts","pathname":"/edgetx-2.6/part_iv_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"A7MnJLFx6gV3dSuEgC7L","title":"Debugging techniques","pathname":"/edgetx-2.6/part_iv_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"SIbkM7Kw1zivNzOzc5rt","title":"Speed/memory optimizaton tricks","pathname":"/edgetx-2.6/part_iv_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"m4DqezFkGumKpWgbRE03","title":"Appendix","pathname":"/edgetx-2.6/appendix","siteSpaceId":"sitesp_BVmML","description":""},{"id":"cgCBkNdRoBauodUsBuZA","title":"Fonts","pathname":"/edgetx-2.6/appendix/fonts","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"drZZdCNVkttWTziPtz5a","title":"Units","pathname":"/edgetx-2.6/appendix/units","siteSpaceId":"sitesp_BVmML","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"eJ5W6N5f0ibsKXNLzLaI","title":"EdgeTX 2.7 Lua Reference Guide","pathname":"/edgetx-v2.7","siteSpaceId":"sitesp_q2z5u","description":""},{"id":"u2ab1HfJHOgLHOnEOom0","title":"Introduction","pathname":"/edgetx-v2.7/introduction","siteSpaceId":"sitesp_q2z5u","description":""},{"id":"EO5VKiUo5OQVQbPxA3Z0","title":"Acknowledgments","pathname":"/edgetx-v2.7/introduction/acknowledgments","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"q8EgsTjc4p1hYKXqbsXE","title":"Getting Started","pathname":"/edgetx-v2.7/introduction/getting_started","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"oVm3IUXQkVnKxNZ6gjNs","title":"Part I - Script Type Overview","pathname":"/edgetx-v2.7/part_i_-_script_type_overview","siteSpaceId":"sitesp_q2z5u","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used."},{"id":"qq6aVQgZz0SogASC94T1","title":"Custom (Mixer) Scripts","pathname":"/edgetx-v2.7/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"ml2k6YH44hGQVtyD9GrG","title":"Telemetry Scripts","pathname":"/edgetx-v2.7/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"axaZHpYiIiFNLyRpqMPV","title":"One-Time Scripts","pathname":"/edgetx-v2.7/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"YXQEVJ7w2YwlAPYYSzsd","title":"Function Scripts","pathname":"/edgetx-v2.7/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"lmKC151uK39ztyYoErdt","title":"Widget Scripts","pathname":"/edgetx-v2.7/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"bGEokjlj5wAxdUDsE4v0","title":"Part II - EdgeTX Lua API Programming Guide","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_q2z5u","description":""},{"id":"i309tfTyzQCJJ8Rzn0hV","title":"Lua Basics","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/lua-basics","siteSpaceId":"sitesp_q2z5u","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"PxCQZIarJdET5mDuNSsv","title":"Loading Code Modules Dynamically","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/loading-code-modules-dynamically","siteSpaceId":"sitesp_q2z5u","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"lPQf9Lrzn27jhTHmcD33","title":"Saving Memory","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/saving-memory","siteSpaceId":"sitesp_q2z5u","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"D87aoJqPgk4z4Y8FKDVC","title":"Using Key and Touch Events","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/using-key-and-touch-events","siteSpaceId":"sitesp_q2z5u","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"YzIuyvNr1pfv3NZCkh3T","title":"Drawing Flags and Colors","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/drawing-flags-and-colors","siteSpaceId":"sitesp_q2z5u","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"tqw4u6GIZj3Z5WGBTVAm","title":"Data Exchange with the EdgeTX Model Setup","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/data-exchange-with-the-edgetx-model-setup","siteSpaceId":"sitesp_q2z5u","description":"An EdgeTX model has several data components that can be exchanged with Lua scripts. This section gives an overview.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"mUIizZ3Ro1oCKuT5MBB1","title":"Included Lua Libraries","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"3pfOj61RwkR4xFPHppp4","title":"io Library","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"7nWW9lYHji0bC38Oo5MQ","title":"io.open()","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"56bj9xDD3QwMsY1XHGtP","title":"io.close()","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"o1LB9WJi6e8bvw5E5euu","title":"io.read()","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"NakJhx5x3avGEgPYLUyp","title":"io.write()","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"jApS5HiUWD31aeyEYAt7","title":"io.seek()","pathname":"/edgetx-v2.7/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"rxo6pZ80rilr0Xl73Ly3","title":"Part III - EdgeTX Lua API Reference","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_q2z5u","description":""},{"id":"X993ap8k5Be2QN8iqRf7","title":"Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_q2z5u","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"6gXsn22AzyQsmwfMrvaO","title":"Key Event Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_q2z5u","description":"This page describes the value that is passed to scripts in the event parameter. It is used in Telemetry and One-Time scripts, as well as widget scripts in full screen mode.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"4li35a8cB5qvtKewTep5","title":"Touch Event Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/touch-event-constants","siteSpaceId":"sitesp_q2z5u","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"jckSG66yZ7HbzhMvGDCo","title":"Flags and Pattern Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_q2z5u","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"ptpmroodkRDsaIxpd5oh","title":"Color Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/color-constants","siteSpaceId":"sitesp_q2z5u","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"pE8V1yA5KgD0MWdewD3s","title":"Special Character Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/special-character-constants","siteSpaceId":"sitesp_q2z5u","description":"The radio's special characters can be used with the following text constants.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"JT896GkuCpLFg4WFagyG","title":"Screen Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/screen-constants","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"kJfJL1FXcq06qmEouu96","title":"Logical Switch Function Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/logical-switch-function-constants","siteSpaceId":"sitesp_q2z5u","description":"These constants give the type of logical switch function.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"E6nwAEyQ7dYWPure6IDI","title":"Special Function Constants","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/special-function-constants","siteSpaceId":"sitesp_q2z5u","description":"These constants determine the type of a Special Function","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"ZYZSoJZ4MdSNM1Mx0rtN","title":"General Functions","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"ZtwuPPscfjHbqVcC4Xxl","title":"GREY()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"dMk0LcrG7sZfbgaVVL2z","title":"accessTelemetryPush()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"oFaRLsJHH6PPb2bI7lOR","title":"chdir(directory)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"pm9BQuA7CUJxB1icYhXX","title":"crossfireTelemetryPop()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"nFGMNNP0WrrQNSQhc3vX","title":"crossfireTelemetryPush()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"va5x8hJpE3cwjm1MeFDA","title":"defaultChannel(stick)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"pxZD84qj4d7KntPRya80","title":"defaultStick(channel)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"DdjTCiT4OBbz2mLq9Bp5","title":"getAvailableMemory()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getavailablememory","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"t9a59jfKYReQf2pUaXU6","title":"getDateTime()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"1mrP4F62SXkn1qBiBRnR","title":"getFieldInfo(source)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"7TgM91IDJ0nMBnoOD9y8","title":"getFlightMode(mode)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"x2968AFwWogpFMxO8cdK","title":"getGeneralSettings()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"uvvfTeyvRIGUKpyvMI3C","title":"getGlobalTimer()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"u5EySlrepkrxAZdfL852","title":"getLogicalSwitchValue(id)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getlogicalswitchvalue-id","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ENi5n9bXDtApdjUnNfdt","title":"getRAS()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ALSzIx7AGlXn7RByHN1M","title":"getRSSI()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"TQWkilWwzF6Rcf5TPmCT","title":"getRotEncSpeed()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"eMlBSmfURW1GXXInbB2u","title":"getRtcTime()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"dQFGKnY8875yOR0wTbQo","title":"getShmVar(id)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getshmvar-id","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"J3KnmhEonfPRfmRdL8F9","title":"getSourceIndex(sourceName)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourceindex-sourcename","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"3J4pkJYi6eEvitX8Eaq9","title":"getSourceName(sourceIndex)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcename-sourceindex","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"42ccpqnHIhvcAgIBch6o","title":"getSwitchIndex(positionName)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchindex-positionname","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"3skxBzxvv81AXn4jZu3c","title":"getSwitchName(switchIndex)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchname-switchindex","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"E11pOxp4u5q53lKhWc31","title":"getSwitchValue(switchIndex)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchvalue-switchindex","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"QrCuulqq72yh6hVXGXSE","title":"getTime()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"koC4lQA89JAjDwgvWtwv","title":"getTxGPS()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"5pAKkMtwuzRwASsIATdR","title":"getUsage()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"NfgehLBqSn98vpVweHBY","title":"getValue(source)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"uelBz57lbUpTmPZRzRvT","title":"getVersion()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"oeKknH3QL0YJgeTvk1bv","title":"ghostTelemetryPop()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypop","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"H5WRBXtTGqIU8sPUWQlJ","title":"ghostTelemetryPush()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypush","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"AQLBfy2H7VrD5TqbDvrY","title":"killEvents(key)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"H6fiKy2Ep2ffhhxSozE9","title":"loadScript(file [, mode], [,env])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"uFWSlV0IqQuc4dbuzi6y","title":"multiBuffer(address[,value])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"r66hchnDXF7hHiCJ8evm","title":"playDuration(duration [, hourFormat])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"90o9AOAj6saZ6lZI0h5H","title":"playFile(name)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"8J4jZw3yzp73YjictJOy","title":"playHaptic(duration, pause [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"HOuOrKY2z73PhnoUHzH2","title":"playNumber(value, unit [, attributes])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"SSWTIqYh6MDvkGUn7LBd","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"wKUfnxSGjy5Z7OPt4ieh","title":"popupConfirmation(title, message, event)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupconfirmation","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"itG5d4BIes9DU9iPitrU","title":"popupInput(title, event, input, min, max)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"RShqnWwVV0hSyggDAwFG","title":"popupWarning(title, event)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"UpvlbG99pYrA938KBfWr","title":"resetGlobalTimer([type])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"FZeX95wQOMYkkCF0t4wR","title":"serialRead([num])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"rqKtOCfJvhZQKa8dAdOP","title":"serialWrite(str)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"SMEOIw2DwZudgKgh1F4v","title":"setSerialBaudrate(baudrate)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setserialbaudrate","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ZcEDAG01sMr5qMH47Sok","title":"setShmVar(id, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setshmvar-id-value","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"6QmYXtDnjEWtgcDdBCDF","title":"setStickySwitch(id, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setstickyswitch-id-value","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"0RlIVwQ2ZrS9fbYLtpTr","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"KXUXtPJdsE9VqhV46hKs","title":"sources([first[, last]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sources-first-last","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"cKrWzewiooG5AB3XBMzm","title":"switches([first[, last]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/switches-first-last","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"bOjhCEtaMEFfz3hIYSuX","title":"sportTelemetryPop()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"QzrFAs7Q5k8vQFCA0lG9","title":"sportTelemetryPush()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Cq5rikObBM993dMHA6hm","title":"Model Functions","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"DsN4A6F2f0a95YIyNOYU","title":"model.defaultInputs()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"HFMJaGaK7lzK3HIEksT3","title":"model.deleteFlightModes()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Hy2UShKlFuXujPj1jkHS","title":"model.deleteInput(input, line)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"DFt0XhYsa3X9r3Kgv9PN","title":"model.deleteInputs()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"xwkb5fzQXb1UerUhqcrc","title":"model.deleteMix(channel, line)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"y40OqTsj5xVk3ruOP1Bz","title":"model.deleteMixes()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"FgRNMCQh4Td3xza6wn6a","title":"model.getCurve(curve)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"BRnEoYHnOCzsYV06rQtc","title":"model.getCustomFunction(function)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"AcKS4jVpaD68GZz0IMbq","title":"model.getFlightMode(index)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"3RwKGjqLCsU1vRKYpvoQ","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"JaBpCj8SDsvnYkWang3D","title":"model.getInfo()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"s5j74hBzVgoAtxSWdr6t","title":"model.getInput(input, line)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ymFiaWJi6Lyf3qsBFlhD","title":"model.getInputsCount(input)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"MxYlQpiNGRepjP8G25Mm","title":"model.getLogicalSwitch(switch)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"DLMy7e5F1rjEJm24oo4N","title":"model.getMix(channel, line)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"jrrT5JSPhaXBxgK4JiwZ","title":"model.getMixesCount(channel)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"hLS3nip8gtCA7yiybBYO","title":"model.getModule(index)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"qBiwpYE6JQJAm8b6j7Ey","title":"model.getOutput(index)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"G2ywRgVqlD236Oibo7QO","title":"model.getSensor(sensor)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"uV5hnbVj6qpl98Tz5Gle","title":"model.getTimer(timer)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ZPAKmSbBZh5tdOTQ3rB8","title":"model.insertInput(input, line, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"4cTKmGDyELmMrOmqGPPI","title":"model.insertMix(channel, line, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"UVEDrjm5HKks2IDSQuP3","title":"model.resetSensor(sensor)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"h9umvqoLZrzrITKXwZee","title":"model.resetTimer(timer)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Y5PAsTV0XQHZYS9OjlmE","title":"model.setCurve(curve, params)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"BstVy4P0ujS1Qh2u3oY2","title":"model.setCustomFunction(function, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"XG9Il7kWpVLaATtqvLnt","title":"model.setFlightMode(index, params)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"XEAroUMZ2IJEVYeHpXA3","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"MDMfEgQ6kVM4l999j5Wv","title":"model.setInfo(value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"mKApujOzPygGW1AP1rqe","title":"model.setLogicalSwitch(switch, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"fE6bx9r7mnginBnzRZjH","title":"model.setModule(index, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"YOawyaPkRvLQ7GhRNxb7","title":"model.setOutput(index, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"bez6L81NbvVLnPAYFbg0","title":"model.setTimer(timer, value)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"5M0BYgOzQrab0BFWpRnN","title":"Lcd Functions","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"M36hzpKESLPVXjnSs6Zy","title":"Lcd Functions Overview","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"L4RfeXwvWGLJ7h2pY4or","title":"lcd.RGB(r, g, b | rgb)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"tIfgsrGvKgQHEX9vJsZl","title":"lcd.clear([color])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"yDfjUY5BsJGKuTly4d4Y","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"7PQVCXAFgz4GEBBiHIkD","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"0LTHOf7DUyFrYirsC9b5","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ykoyD5wpQsxS5EoqH0pt","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"tpa9Jc2T49kb3sYVKaqj","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"tic40QKybklukWdvVvbB","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ZCuWcixsD5gDnsB0Ou9a","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"4rs4jKmv33opnw5UhUBr","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"2mTZnkXkhGpSEuZ0o5P0","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"KFgk5n6eot9z2fP2GgDV","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"BuVTEBNpos4myoxDpEFJ","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"cEZIk0QaS3O3FXIIuXIl","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"nwULvGE8jsJEmzhL3S9p","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"caQK8uY4kn7Tn8894eA4","title":"lcd.drawNumber(x, y, value [, flags [, inversColor]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"xvulwjtuPnRrEnfJpP9I","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"EQCAEeZaSNDb1SUXB2a0","title":"lcd.drawPixmap(x, y, name)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"rHnnICp8gMNi7TYcvDIv","title":"lcd.drawPoint(x, y)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"AoCDaUtgPgF2qWPpAOcb","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"tTF9R9ACdvqMkuW1s1fl","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ibKEWH6AgBAlwcx2GgfY","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"QgfxAOvvSjAGFSxgC3wj","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"R1RNaSE0OPZL05TBMtxe","title":"lcd.drawText(x, y, text [, flags [, inversColor]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"Egu4dr93Vl92izBVF1PF","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawtextlines-x-y-w-h-text-flags","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"CddRcCUeT7PvUT18ez2s","title":"lcd.drawTimer(x, y, value [, flags [, inversColor]])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"FKIYQKt8q5H32dguWJVp","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"eCvxtfvOw1CbKkMEoFaA","title":"lcd.exitFullScreen()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"dFI9nZvPhptvFo9I376k","title":"lcd.getColor(flags)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"e1RLDfowEJ94cDaRVLDD","title":"lcd.getLastLeftPos()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"pGMtQ8T33SmVybA2ItjX","title":"lcd.getLastPos()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"z9JCBdxhqOKAJ5Pw4cy9","title":"lcd.getLastRightPos()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"IUPuaI0s8HKSpSUJiFwK","title":"lcd.refresh()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"2BqAxeS753Ck5OqxHmlg","title":"lcd.resetBacklightTimeout()","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"RmGlOQQEgE4kXkp3KIJe","title":"lcd.setColor(colorIndex, color)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"sEy2vbn1xysM5TSFXiyo","title":"lcd.sizeText(text [, flags])","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"d4FTyCgeUpX7VFhEgijt","title":"Bitmap Functions","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"52OI24omyzVc6opemTPV","title":"Bitmap.getSize(name)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"Cuw1M0RZ1lSKn4elm2b2","title":"Bitmap.open(name)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"WEyax9zlTd5WvYUSQqEW","title":"Filesystem","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/filesystem","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"uxPYzOcrMtxaEJOc7fmj","title":"dir(directory)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/filesystem/dir-directory","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"fxwG19B6PpCTPiuPPIJ1","title":"fstat(path)","pathname":"/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/filesystem/fstat-path","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"OiZY2lzGdmGsjjctPi9Y","title":"Part IV - Advanced Topics","pathname":"/edgetx-v2.7/part_iv_-_advanced_topics","siteSpaceId":"sitesp_q2z5u","description":""},{"id":"UptsePCwHS0pCUAXcmGR","title":"Lua data sharing across scripts","pathname":"/edgetx-v2.7/part_iv_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"5FuLib06vZ4Mm32vCFvT","title":"Debugging techniques","pathname":"/edgetx-v2.7/part_iv_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"FlUXoDibEWhrBB8FIeGk","title":"Speed/memory optimizaton tricks","pathname":"/edgetx-v2.7/part_iv_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"fc1BoKGsoyZdfoEt8dp5","title":"Appendix","pathname":"/edgetx-v2.7/appendix","siteSpaceId":"sitesp_q2z5u","description":""},{"id":"jc8Ahk1QpqD3iiCRssPi","title":"Fonts","pathname":"/edgetx-v2.7/appendix/fonts","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"6MI0ZuDyRG8FXsnAbbX1","title":"Units","pathname":"/edgetx-v2.7/appendix/units","siteSpaceId":"sitesp_q2z5u","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"noryL0zoxUziERoObX5J","title":"EdgeTX 2.8 Lua Reference Guide","pathname":"/edgetx-v2.8","siteSpaceId":"sitesp_U3wcE","description":""},{"id":"aJ1idN3sr1M6CZpEg2ba","title":"Introduction","pathname":"/edgetx-v2.8/introduction","siteSpaceId":"sitesp_U3wcE","description":""},{"id":"bcUl9yQyTwJ4kdok1t6P","title":"Acknowledgments","pathname":"/edgetx-v2.8/introduction/acknowledgments","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"x4rdIsmS7nqtxzZW1nMT","title":"Getting Started","pathname":"/edgetx-v2.8/introduction/getting_started","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"L62YUJ5PL3RcNoSkzGv9","title":"Part I - Script Type Overview","pathname":"/edgetx-v2.8/part_i_-_script_type_overview","siteSpaceId":"sitesp_U3wcE","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used."},{"id":"9W44sX2GVMhZ9XVUFOZK","title":"Custom (Mixer) Scripts","pathname":"/edgetx-v2.8/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"jeqNiQGbeNHTu2sXXIvK","title":"Telemetry Scripts","pathname":"/edgetx-v2.8/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"n1sggXMlmW7zLOyTmFtI","title":"One-Time Scripts","pathname":"/edgetx-v2.8/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"4Y2KsqR91GgTvX2HGoiV","title":"Function Scripts","pathname":"/edgetx-v2.8/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"W1xXqMj2vIibYXLHu5oO","title":"Widget Scripts","pathname":"/edgetx-v2.8/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part I - Script Type Overview"}]},{"id":"4f4wSym5lEtb2yHPkdoI","title":"Part II - EdgeTX Lua API Programming Guide","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_U3wcE","description":""},{"id":"h97zkFcKfgsYtH9XOH0o","title":"Lua Basics","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/lua-basics","siteSpaceId":"sitesp_U3wcE","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"d47OmI3jXUbyxSsfV17P","title":"Loading Code Modules Dynamically","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/loading-code-modules-dynamically","siteSpaceId":"sitesp_U3wcE","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"dW4KNmq65mOlzhJvGJnC","title":"Saving Memory","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/saving-memory","siteSpaceId":"sitesp_U3wcE","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"CM66N5IsoOv8NicgYuq6","title":"Using Key and Touch Events","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/using-key-and-touch-events","siteSpaceId":"sitesp_U3wcE","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"7wIglJoDscwzqCLp3dOG","title":"Drawing Flags and Colors","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/drawing-flags-and-colors","siteSpaceId":"sitesp_U3wcE","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"HQyLfdyp7SZpx1dNBxzT","title":"Data Exchange with the EdgeTX Model Setup","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/data-exchange-with-the-edgetx-model-setup","siteSpaceId":"sitesp_U3wcE","description":"An EdgeTX model has several data components that can be exchanged with Lua scripts. This section gives an overview.","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"f7MZUhUBmgVPMvx76PrP","title":"Included Lua Libraries","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"}]},{"id":"FV4G7iyvejg92g9Zm64M","title":"io Library","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"llluTfD5AFjrAaMQ14ga","title":"io.open()","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"EKue1KBVS1kbzoXkBoyz","title":"io.close()","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"oC7VRjcMADnf3RkMhC9r","title":"io.read()","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"Si9TwUTkS8AJT9oe93Fi","title":"io.write()","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"GACojdoz57xxcgVCos0c","title":"io.seek()","pathname":"/edgetx-v2.8/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part II - EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"2aAxKpyHpydG96v1KlIX","title":"Part III - EdgeTX Lua API Reference","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_U3wcE","description":""},{"id":"90pXbcZXkgXsZcjwMEG1","title":"Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_U3wcE","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"TCXr5soY2wxkruDVBkwf","title":"Key Event Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_U3wcE","description":"This page describes the value that is passed to scripts in the event parameter. It is used in Telemetry and One-Time scripts, as well as widget scripts in full screen mode.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"AedQe8TOP6zmnLNJhNkM","title":"Touch Event Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/touch-event-constants","siteSpaceId":"sitesp_U3wcE","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"xPNUE256clAsisGns6om","title":"Flags and Pattern Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_U3wcE","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"yPNvcTvu06kIxBivsUAR","title":"Color Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/color-constants","siteSpaceId":"sitesp_U3wcE","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"a0Jmm2hd8bgkNxK6y2QZ","title":"Special Character Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/special-character-constants","siteSpaceId":"sitesp_U3wcE","description":"The radio's special characters can be used with the following text constants.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"uiCIJ9hz4YuIc4WPmL1D","title":"Screen Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/screen-constants","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"9H7jlHiziBcvLe4LYB14","title":"Logical Switch Function Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/logical-switch-function-constants","siteSpaceId":"sitesp_U3wcE","description":"These constants give the type of logical switch function.","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"tjcyjom22Ucof8CoqLJd","title":"Special Function Constants","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/constants/special-function-constants","siteSpaceId":"sitesp_U3wcE","description":"These constants determine the type of a Special Function","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"COxJSu06xkmuZ92hv4iR","title":"General Functions","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"F4YUcqTNXHEgsWA4rrSd","title":"GREY()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"a0avkY1kAcH4qhODC9Xe","title":"accessTelemetryPush()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Gt2Z5VGcMdhOpogOLbmA","title":"chdir(directory)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ll53OgtcZkj6Os7AYXKR","title":"crossfireTelemetryPop()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"qj4FhbgfaoGgewYk7H2V","title":"crossfireTelemetryPush()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"33ZnxqiSym1CkmNeUYQg","title":"defaultChannel(stick)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"3KaHPVIRKE5FsWNIVmRO","title":"defaultStick(channel)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"325mABAdrxEPtV3YqLcL","title":"flushAudio()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/flushaudio","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"YHMsJKD3SxTpXpCww6gd","title":"getAvailableMemory()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getavailablememory","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ePrK34f0m5YcE7Df8KW1","title":"getDateTime()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ugvPwEIlZquT5JUuK3jY","title":"getFieldInfo(source)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"EFITm13BU2GaUC67pEvD","title":"getFlightMode(mode)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"oc46nf7yjCdQgFdj6c1m","title":"getGeneralSettings()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Uy49NwdS8gQhOrjcsUIy","title":"getGlobalTimer()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"vjwmPw286w43R9ARDXqT","title":"getLogicalSwitchValue(id)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getlogicalswitchvalue-id","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"wUssEHWQqJNl9MhyZVYh","title":"getOutputValue(outputIndex)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getoutputvalue-outputindex","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"LwcYbaAcIm1jgmacwqCU","title":"getRAS()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"IcTifqoAX0zbEnm9Brfg","title":"getRSSI()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"XLv4hHJ6IHmIXFCTjepz","title":"getRotEncMode()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencmode","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"2hp66NeKJWbe0V9SPgdO","title":"getRotEncSpeed()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"dQ7CAfMl4K7jR6QrUZUX","title":"getRtcTime()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"68X0aFcAoZ13IJeOvZU5","title":"getShmVar(id)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getshmvar-id","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Envd10twnh310wzuRFAU","title":"getSourceInfo(source)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo-1","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"oqmaZNHkTN2YqJWFiq3U","title":"getSourceIndex(sourceName)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourceindex-sourcename","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"jYnQB4UWdxBT9CFXP6ah","title":"getSourceName(sourceIndex)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcename-sourceindex","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"A4JOEbVdAwXqv0XLqtIH","title":"getSourceValue(source)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcevalue-source","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"FFn5sjsc94fxW2QcbirA","title":"getSwitchIndex(positionName)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchindex-positionname","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"8npEQb8zGmk1WQjQpiAU","title":"getSwitchName(switchIndex)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchname-switchindex","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ZC8Yhy8OTcq2OokkZEKs","title":"getSwitchValue(switchIndex)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchvalue-switchindex","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"l5QU1FGiBzFSHn227I4a","title":"getTime()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"lw2FxPTUO81GAaGWZqaC","title":"getTxGPS()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"vU9QswHz8qa7t7V1KWw0","title":"getUsage()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"QWYznU7cW2C1MH1IS6Sp","title":"getValue(source)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"VXzx5y5wjZXanqGwK8nw","title":"getVersion()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"OSU8oNTh5ikN2Nh6vwUB","title":"ghostTelemetryPop()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypop","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Ud90aYD1Ibhmt2XcMgGv","title":"ghostTelemetryPush()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypush","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"X5G3At80X1GQEHUGbedt","title":"killEvents(key)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"5L2mPksxjgKXLrOj5E0Y","title":"loadScript(file [, mode], [,env])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"6QHNqQowxCsdhukcnbNY","title":"multiBuffer(address[,value])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"EOKkA5tWHFk3KV7Ti347","title":"playDuration(duration [, hourFormat])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Hbr3diramxP90UgPK8la","title":"playFile(name)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"wvVeYbstdyjGpr1buxOG","title":"playHaptic(duration, pause [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"HLZa4ubKG7b1uqvuseyf","title":"playNumber(value, unit [, attributes])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"584Y4TBYkWxuIwFdzFqM","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"YmYhS1T9npPcxPC1pXyS","title":"popupConfirmation(title, message, event)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupconfirmation","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ZvYe5bLTFV4zBgA2v5Hd","title":"popupInput(title, event, input, min, max)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"bT3gjk5IgseUSay5FFiR","title":"popupWarning(title, event)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"hN8jFZOcVjVGSz2IsRDR","title":"resetGlobalTimer([type])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"wpmtcRONy5vVj5Khyll4","title":"serialRead([num])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"9ZwtXImFpabrTZ4wK2Sn","title":"serialWrite(str)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Hg2c0BQJxeGlGLrdPtbH","title":"setSerialBaudrate(baudrate)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setserialbaudrate","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"w6CKnreITgPWrBLSwrzy","title":"setShmVar(id, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setshmvar-id-value","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"YjirZrCix7YlqINg7zuK","title":"setStickySwitch(id, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setstickyswitch-id-value","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ATPFRHeYmw5jMVyuCAjh","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"GGtAodKL48wacvOduCl9","title":"sources([first[, last]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sources-first-last","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"v8OlPkx1d5Q8G1IoISvU","title":"switches([first[, last]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/switches-first-last","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"vuadHHFAvLrhMlbRvBwC","title":"sportTelemetryPop()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"bT7PrCFPYijN8j5GtUar","title":"sportTelemetryPush()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"3d2VPTKbvbsfF0qfObSL","title":"Model Functions","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"5DErNbGK612wPZC5yq1t","title":"model.defaultInputs()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"JaJ6qlwnGu7DOZeVQNiV","title":"model.deleteFlightModes()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Vda7DhXez1RAKR92ryyN","title":"model.deleteInput(input, line)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"G5CqvZMADmB0byNFmAZC","title":"model.deleteInputs()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"MMMnrQq7qIHCsrXExX3Q","title":"model.deleteMix(channel, line)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"YuY5zryCCAavb6ZhLJwr","title":"model.deleteMixes()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6jCSDVgoUZxLtm6aVpwf","title":"model.getCurve(curve)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ALKQ9iWgzxsX4jL89HSd","title":"model.getCustomFunction(function)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"7ixtCEd8VzGo3WcHZrZl","title":"model.getFlightMode(index)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"9jUVRo4SoAZSP2jkWqUh","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"UvOuYWBw3ty45HQNVrkg","title":"model.getInfo()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"vEb18HCE2lV8g2xAcX0f","title":"model.getInput(input, line)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"3WtqKSVUGujTWowuBj3c","title":"model.getInputsCount(input)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"i3XG5DquC4trKQrZpQvE","title":"model.getLogicalSwitch(switch)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"m0gApcWkcAeUAq8aI0OW","title":"model.getMix(channel, line)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"OHn7amTbeMkLT4p2JBpT","title":"model.getMixesCount(channel)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"39FA6UeFohQu218epefo","title":"model.getModule(index)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"XDWQOVnAXvQrKlflER5x","title":"model.getOutput(index)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"HXBKInBMr6mLeBV8w6EK","title":"model.getSensor(sensor)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"A9BNAtQLTgHK6l713Zh1","title":"model.getSwashRing()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/model.getswashring","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"CMIwYaggK9d8RBp6SqMg","title":"model.getTimer(timer)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"3YVSo8e1AA2tlBQsygxT","title":"model.insertInput(input, line, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"xs0yxjk4TqSFOWJqBXEY","title":"model.insertMix(channel, line, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Bmqx9gUlU8kQMtn5nOg4","title":"model.resetSensor(sensor)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"f8oa4kOIhPLOBb7fGszD","title":"model.resetTimer(timer)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"OlS8TctIh7fLZQvD9efP","title":"model.setCurve(curve, params)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"3LRE8LOKxqGAVkb8V0tc","title":"model.setCustomFunction(function, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Q88IftI18ZUwzd1Gw2x2","title":"model.setFlightMode(index, params)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"i4CUdzL9FFr45yTt39bJ","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"pJHh1gEZEAFfOWo8PKql","title":"model.setInfo(value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"wECtoGAxAvfL3ADgZdMJ","title":"model.setLogicalSwitch(switch, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"1dDPpWDdAUb9SMQ3fVNx","title":"model.setModule(index, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"E0IKjJMos3AVASnpnmsv","title":"model.setOutput(index, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6vXjLE2hOtVKX43gb8Wb","title":"model.setSwashRing(params)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/model.setswashring-params","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"1vrB9zHKjpdtXHQYHIwU","title":"model.setTimer(timer, value)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"O5APb0u1ts7Ca9maWYS1","title":"Lcd Functions","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"1TjwsxgJ0YdmhwiUPwae","title":"Lcd Functions Overview","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"6VAJbxjgXlfkPwQKbHwg","title":"lcd.RGB(r, g, b | rgb)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"6jNe2fX7br9MKSKTsUve","title":"lcd.clear([color])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"e8YtEUvro93jjME3FF1a","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"T9W8Wdf7qA5yxPGdkYvV","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"dx04GADuoqgzqYO2zOoE","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"O2IFCqvSXbBP7z67RR6U","title":"lcd.drawBitmapPattern(bitmap, x, y [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawbitmappattern-bitmap-x-y-flags","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"mpOmzvVpFvW2WmLqzj4d","title":"lcd.drawBitmapPatternPie(bitmap, x, y, startAngle, endAngle [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawbitmappatternpie-bitmap-x-y-startangle-endangle-flags","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"dKBke3tIGx90klEEeISM","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ttFKzUGCFZjorOMEgujk","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"oaOBGJ0wnbE5v6hVNDoD","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"VYIKr9pA1NuMNzrLM4Ng","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"gG0P8TjVQMVocJBlGzsV","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"akCNjFDFSf6IvSY1dyS2","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"iKxp5HOSwOkJpmNSFhpg","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"aBQ38GJzwWBY9vB9VOpK","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"tDmePTGfsPwz7dN8HGZG","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"jNsVCemIfKLWdvK84MsI","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"wlRRW94gQnUF8CCI5Kd2","title":"lcd.drawNumber(x, y, value [, flags [, inversColor]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"OVHMCvuTSFOzFh2Dui74","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"oKJQR3yfXCbZph46U8Rp","title":"lcd.drawPixmap(x, y, name)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"PF8DyiiNestjQgQ2XG6W","title":"lcd.drawPoint(x, y)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"DcnU1iV0UXKnLLtygSxt","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"3F78zSKHHPpwD133YgJG","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"nJMHhjtmLa4Q46psOqlZ","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"vWWZTSrexCgruSK2tXzm","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"5Gmya1TMqZ6CCM8c3lMD","title":"lcd.drawText(x, y, text [, flags [, inversColor]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"aIWYcTw21MO8EII0jitJ","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawtextlines-x-y-w-h-text-flags","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ytCgCszCnn7vIrDb3tPT","title":"lcd.drawTimer(x, y, value [, flags [, inversColor]])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"AeToxcQKSJWA9ksqsUmB","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"IEvhU1izzx8Y4bHagbrX","title":"lcd.exitFullScreen()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"UBBHujIoVtC8eNOxyUet","title":"lcd.getColor(flags)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"u6FAcJMRBTJrwFxQUqg8","title":"lcd.getLastLeftPos()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"HYXqnW83V4UwjFAanKdD","title":"lcd.getLastPos()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"UoGKhvvKLcsv0ACHfmIT","title":"lcd.getLastRightPos()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"kOrHfjXdn4xkkI8vYWXm","title":"lcd.invertRect(x, y, w, h [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.invertrect-x-y-w-h-flags","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"2CErEuuT92Se6irx7YrG","title":"lcd.refresh()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"DMCbWmBfijG1YjUTiSos","title":"lcd.resetBacklightTimeout()","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"XMgEdGjkE1nlkRAdJ3M1","title":"lcd.setColor(colorIndex, color)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"spKMDt1R2MYoWAkQXQUA","title":"lcd.sizeText(text [, flags])","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"IqCeGxbUp1jaaY0xGGtB","title":"Bitmap Functions","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"nXVX8rpYbZ16ZRUBB0bS","title":"Bitmap.getSize(name)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"XCeNHgYA7fOO8pdMKHMF","title":"Bitmap.open(name)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"KpZemVj18AoJESQs0hXo","title":"Bitmap.resize(bitmap, width, height)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/bitmap.resize-bitmap-width-height","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"IjSzaByZxC31fimIiRPk","title":"Bitmap.toMask(bitmap)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/bitmap.tomask-bitmap","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"Q6TlsYIdtqhrNPVHTjnq","title":"Filesystem","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/filesystem","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"}]},{"id":"VwPdLX5MD3AABkztAeEX","title":"dir(directory)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/filesystem/dir-directory","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"dwEnqibPt4aJdzEUvjBj","title":"fstat(path)","pathname":"/edgetx-v2.8/part_iii_-_opentx_lua_api_reference/filesystem/fstat-path","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part III - EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"AtR5ync3q181Fx7FAZvp","title":"Part IV - Advanced Topics","pathname":"/edgetx-v2.8/part_iv_-_advanced_topics","siteSpaceId":"sitesp_U3wcE","description":""},{"id":"TJ3Hlr8T1X8Vgw2upsGQ","title":"Lua data sharing across scripts","pathname":"/edgetx-v2.8/part_iv_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"Zyb3SZMTgC9QI40mCOOF","title":"Debugging techniques","pathname":"/edgetx-v2.8/part_iv_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"s6DX7sImBJo3L0HfeErc","title":"Speed/memory optimizaton tricks","pathname":"/edgetx-v2.8/part_iv_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Part IV - Advanced Topics"}]},{"id":"yRB8GOJ4apmF6Ip22JY6","title":"Appendix","pathname":"/edgetx-v2.8/appendix","siteSpaceId":"sitesp_U3wcE","description":""},{"id":"mQDakXCTYKN1waxQQAyI","title":"Fonts","pathname":"/edgetx-v2.8/appendix/fonts","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"ZyNvP6UFf7Y5PWtSOO6F","title":"Units","pathname":"/edgetx-v2.8/appendix/units","siteSpaceId":"sitesp_U3wcE","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"VW3GtS8qxD19NKucHtnR","title":"EdgeTX 2.9 Lua Reference Guide","pathname":"/2.9","siteSpaceId":"sitesp_1Ye3l","description":""},{"id":"R6JEA5QJPqa67sy7xkfM","title":"Introduction","pathname":"/2.9/introduction","siteSpaceId":"sitesp_1Ye3l","description":""},{"id":"iLv1Kyou8Ld5c3RkV51F","title":"Acknowledgments","pathname":"/2.9/introduction/acknowledgments","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"nPE5nSz2rEQN9Yo0BaFJ","title":"Getting Started","pathname":"/2.9/introduction/getting_started","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"gbE9tDFtaZnwtQ6UIaCf","title":"Script Type Overview","pathname":"/2.9/part_i_-_script_type_overview","siteSpaceId":"sitesp_1Ye3l","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used."},{"id":"zrVnWt9YoR7tV3dNS2H9","title":"Custom (Mixer) Scripts","pathname":"/2.9/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"xm1rkBx3EGkhw3a1tGcZ","title":"Telemetry Scripts","pathname":"/2.9/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"w5NalzIilARfhwgJ81a6","title":"One-Time Scripts","pathname":"/2.9/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"s96f8j6Tf1mH50bakiSx","title":"Function Scripts","pathname":"/2.9/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"8TtmF3O2yBe6WTyh55J0","title":"Widget Scripts","pathname":"/2.9/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"VfWFSNesNjzE3UtxxWiZ","title":"EdgeTX Lua API Programming Guide","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_1Ye3l","description":""},{"id":"dE7A2LdOOUDZVD8Ge2Ro","title":"Lua Basics","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/lua-basics","siteSpaceId":"sitesp_1Ye3l","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"irUUxBO76yh9MsAWwWAg","title":"Loading Code Modules Dynamically","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/loading-code-modules-dynamically","siteSpaceId":"sitesp_1Ye3l","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"vs0orVEmzf5Y4QJBb4zK","title":"Saving Memory","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/saving-memory","siteSpaceId":"sitesp_1Ye3l","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"GmMRLqDMKyp94NzUJzl8","title":"Using Key and Touch Events","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/using-key-and-touch-events","siteSpaceId":"sitesp_1Ye3l","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"VyLhHN8gJax5Ic1iMBft","title":"Drawing Flags and Colors","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/drawing-flags-and-colors","siteSpaceId":"sitesp_1Ye3l","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"MDtFD2bTIs3wsIGF3gin","title":"Data Exchange with the EdgeTX Model Setup","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/data-exchange-with-the-edgetx-model-setup","siteSpaceId":"sitesp_1Ye3l","description":"An EdgeTX model has several data components that can be exchanged with Lua scripts. This section gives an overview.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"92iiULFo0DvVrJz0HFOs","title":"Included Lua Libraries","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"Hb0tATS3uNQVx1sKDlQ9","title":"io Library","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"dbwkFQG7qakXf2c8X9gy","title":"io.open()","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"sXczLOMWOWYvQJJDMhi8","title":"io.close()","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"8v4PJmJH9fv01m4EbZRc","title":"io.read()","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"D0HDutxLTliT6R6zD9Oi","title":"io.write()","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"afa19lUcM1WoQdVEycfw","title":"io.seek()","pathname":"/2.9/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"WEc8g75BtDJ6Fv3Mu3HO","title":"EdgeTX Lua API Reference","pathname":"/2.9/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_1Ye3l","description":""},{"id":"4lZcwi7SzROXqEzcqle0","title":"Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_1Ye3l","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"PLBad8kT3lb2S2zn8suP","title":"Key Event Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_1Ye3l","description":"This page describes the value that is passed to scripts in the event parameter. It is used in Telemetry and One-Time scripts, as well as widget scripts in full screen mode.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"yz5ETL9F5Yi4TljrVeQO","title":"Touch Event Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/touch-event-constants","siteSpaceId":"sitesp_1Ye3l","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"cOgMhEdM9DGjOGnEgz43","title":"Flags and Pattern Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_1Ye3l","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"LimgNW2BAWQSRSPjyIBA","title":"Color Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/color-constants","siteSpaceId":"sitesp_1Ye3l","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"Z2Tq4Ih01lfA5EjpEgXa","title":"Special Character Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/special-character-constants","siteSpaceId":"sitesp_1Ye3l","description":"The radio's special characters can be used with the following text constants.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"t9ckjnMiOTgYrcGb2LWT","title":"Screen Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/screen-constants","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"tr371tQI4PZ8vpqy4pWn","title":"Logical Switch Function Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/logical-switch-function-constants","siteSpaceId":"sitesp_1Ye3l","description":"These constants give the type of logical switch function.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"e6VDqkWz4YAWAKv0tzua","title":"Special Function Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/special-function-constants","siteSpaceId":"sitesp_1Ye3l","description":"These constants determine the type of a Special Function","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"SdYKmmYZVRcIzAS2Ffbc","title":"Widget Options Constants","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/constants/widget-options-constants","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"aUKoKduDp5mzwoE3XRUg","title":"General Functions","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"2wwvH2LaNTIBrcKCdAcY","title":"GREY()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"lyZ7mSu9K9PxSfMlEC0d","title":"accessTelemetryPush()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"dWh7udVKp0arkjLz0ZyS","title":"chdir(directory)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"PUM789XxDeZlukA1GUhI","title":"crossfireTelemetryPop()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"WLqcRSpngPWEs4dwomfw","title":"crossfireTelemetryPush()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"qRIJiZRUnFiD5iSRPcrs","title":"defaultChannel(stick)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ZrhLK1cZ3qTrJL7Dy4iy","title":"defaultStick(channel)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"HlnLEd33B2nuWTPn7JAw","title":"flushAudio()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/flushaudio","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"y77EX58pluz5qREE2hj6","title":"getAvailableMemory()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getavailablememory","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"71iGB1oiUBtVs9zYW8JW","title":"getDateTime()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"JaVrXTNoXx1u7G3i9699","title":"getFieldInfo(source)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"mU3DeldKy08epL95sbWI","title":"getFlightMode(mode)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Okl64mg5VP4ZhIxkygBn","title":"getGeneralSettings()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"p9XD8WUxvAVJTpy4boX0","title":"getGlobalTimer()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"29F0R4YQb15Rny2QvU1E","title":"getLogicalSwitchValue(id)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getlogicalswitchvalue-id","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"7dGtIYTQyYZ7XPWE7KyU","title":"getOutputValue(outputIndex)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getoutputvalue-outputindex","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"YqQkwYkRfg8k16Yfyz8F","title":"getRAS()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"rlavScljJ25vEaQu6tvf","title":"getRSSI()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"p02GQck2G1IzF42KKZ29","title":"getRotEncMode()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencmode","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"QuluFrQk6nQqKsVKL3ln","title":"getRotEncSpeed()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"C9o5AVveEjbLkyBdNdAu","title":"getRtcTime()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"uZLFftThLP5A4D8JUgQh","title":"getShmVar(id)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getshmvar-id","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"yhylwItyPa5e1l7vWHWe","title":"getSourceIndex(sourceName)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourceindex-sourcename","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"tr0Eb2ogRTWWNyIvLSy3","title":"getSourceName(sourceIndex)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcename-sourceindex","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"l5798Zg3GEKXNZwJd1Sr","title":"getSourceValue(source)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcevalue-source","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Q17ZPIv117xK0QJD7Rcd","title":"getSwitchIndex(positionName)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchindex-positionname","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ww5ErD01mp2bs19j5psI","title":"getSwitchName(switchIndex)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchname-switchindex","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"gekqyzFraskVFJFHQ2CQ","title":"getSwitchValue(switchIndex)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchvalue-switchindex","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"6pCkvo4gcqpEwNKwEdze","title":"getTime()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"f5bMIrDRvYZDRNgFu8px","title":"getTxGPS()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ZAzsTmxUhWDUovLEwvBi","title":"getUsage()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"T7D81h0cMh2B2yk3f2eR","title":"getValue(source)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"9ZRHmeocVTqTTSBtxKCp","title":"getVersion()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"H8aOaXSoxdIgrphUbDHR","title":"ghostTelemetryPop()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypop","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"v3aUNtOmeaIleh86iIe0","title":"ghostTelemetryPush()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypush","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"aLiJ8SCCfswUNyaekzUQ","title":"killEvents(key)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"S4bKr0KgOG2bgLIJLQa7","title":"loadScript(file [, mode], [,env])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"CmNIa867ZeV7ETe9ciVF","title":"multiBuffer(address[,value])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"9iG7zefbaGWbRQCRTVwA","title":"playDuration(duration [, hourFormat])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"kgrAo2tvdBPN1T4tgQN6","title":"playFile(name)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"OCJVp7qBjxCUvvMdHzeH","title":"playHaptic(duration, pause [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"qAG2m5ZvIIgvhsGlOzi6","title":"playNumber(value, unit [, attributes])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"o4LxumM3NFv3SKicSJFl","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"QaRG7Vg2ph2QdO3jNoY4","title":"popupConfirmation(title, message, event)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupconfirmation","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"KRnKPi7RaqqHps9mAi3G","title":"popupInput(title, event, input, min, max)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"xO8fVbHwKd3MNa0twP2n","title":"popupWarning(title, event)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Cm72gDPGpzAdjtiNSHq2","title":"resetGlobalTimer([type])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"iNr3PoYiqDnF3uufgQuC","title":"serialGetPower(port_nr)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialgetpower-port_nr","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"WUp9wvqbF3eeMRsMQ42d","title":"serialRead([num])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"GLUjl1Xdz4CbjSuOtLef","title":"serialSetPower(port_nr, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialsetpower-port_nr-value","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"KexzjB2DdzM1t1Z9O0YY","title":"serialWrite(str)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"6W03PJSBSUCSC7NDK8WE","title":"setSerialBaudrate(baudrate)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setserialbaudrate","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"vg8rMiLRvWcKejtkK7ow","title":"setShmVar(id, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setshmvar-id-value","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"EU98d6vRyMS1zlQwD3sy","title":"setStickySwitch(id, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setstickyswitch-id-value","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"80QiBwKA3FwYKkypwrVR","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"dsmhVyruOUSGNduHDsRr","title":"sources([first[, last]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sources-first-last","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"r6jZWiCtdY91wChagpmY","title":"switches([first[, last]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/switches-first-last","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Ea22VClGIhlxZBXDJAK2","title":"sportTelemetryPop()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"IrekUIq9bBxnZQY8MvL8","title":"sportTelemetryPush()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"g1dpS57HKuX274qhTNfL","title":"Model Functions","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"E33n4zkfvSknoLqZtEOv","title":"model.defaultInputs()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"vIFXzZ12OWuIyFk1FDQ7","title":"model.deleteFlightModes()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"OsTNcqs3Aryhv5QO2Q0v","title":"model.deleteInput(input, line)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6oNaTOl2JlmjYRxdHcZh","title":"model.deleteInputs()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"fmd9thwuOdPMIfUgjAkY","title":"model.deleteMix(channel, line)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"q3DxLwHgViEcr9nXniIR","title":"model.deleteMixes()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"E1OxJj3SbVnDOL6IAR9N","title":"model.getCurve(curve)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ujbVdaAIzaPF2PZPxTZL","title":"model.getCustomFunction(function)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ADMKU8KTVZ4nqDzjslJa","title":"model.getFlightMode(index)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"miZIIbeoTqKdB7PGZKBW","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"G8xswFYsYkfmsglNF20k","title":"model.getInfo()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ikgWg4AYyXv8qKfgkWSL","title":"model.getInput(input, line)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"H8WeyL6v1EYR2DSt2Sri","title":"model.getInputsCount(input)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"r4E8tkTdSMMUkcopyQDl","title":"model.getLogicalSwitch(switch)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"iz4Q5AoOVLeEJt7cyDZQ","title":"model.getMix(channel, line)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"tMNIvciuvGpgniTIY1fZ","title":"model.getMixesCount(channel)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"UeareJ2kR8Ntj5Oxqaa1","title":"model.getModule(index)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"o0sTL6kdCVxNcC2ldS2x","title":"model.getOutput(index)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"7PmNceR4Qlaw6GCZzr1E","title":"model.getSensor(sensor)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"PS0NcmETtg79o3yEQFm6","title":"model.getSwashRing()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/model.getswashring","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ZhNEsmo4dIqYml5ISCup","title":"model.getTimer(timer)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"cMDozqZKGfoZrDEFlNz1","title":"model.insertInput(input, line, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"LQo8WV17W3ikMUOTZm1n","title":"model.insertMix(channel, line, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"rtM90LfnZ9enoqtxWYzT","title":"model.resetSensor(sensor)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"J3DEIwRToWrBDzHKDVvA","title":"model.resetTimer(timer)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ff6rynR6SFW371necE2s","title":"model.setCurve(curve, params)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"xkSMUUpmNNkiuELMCWly","title":"model.setCustomFunction(function, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"fEsNki3EYVEIJkW0DSq7","title":"model.setFlightMode(index, params)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6nEKHWzTKrxaDUQUSW0T","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"FvXADW3iiHaz5FcT0qdr","title":"model.setInfo(value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"KFCYLlziZH716JkumC4H","title":"model.setLogicalSwitch(switch, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"yLaqgKeNUQymYgObok7g","title":"model.setModule(index, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"1aDbCCdyQTnlkdHrvA9o","title":"model.setOutput(index, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"T0Aw0Lf0ZPhNKqJH27px","title":"model.setSwashRing(params)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/model.setswashring-params","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"VvPHAJpLzP6Z0xclGxCQ","title":"model.setTimer(timer, value)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"K2uXv7e0hiTOvorfK3ot","title":"Lcd Functions","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"Avji96ETXZWeQsS2hxxW","title":"Lcd Functions Overview","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"Qi239XA3RBrFYuoMYASb","title":"lcd.RGB(r, g, b | rgb)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"DPLEvFr7AB52whceV0El","title":"lcd.clear([color])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"6gyrNzEFwtBAygXYxEWU","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"lVSQfGycgv9DEFVF4bkX","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ovMxLcDMNTfTDrstLW15","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"Mi5aFuHH0LBFmgucWLT7","title":"lcd.drawBitmapPattern(bitmap, x, y [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawbitmappattern-bitmap-x-y-flags","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"Cv7yTAIPQWCznMghbitd","title":"lcd.drawBitmapPatternPie(bitmap, x, y, startAngle, endAngle [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawbitmappatternpie-bitmap-x-y-startangle-endangle-flags","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"5ysnZIxsSZR6N9qrcL7J","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"25FphSvL7ZuZBlUNzUpM","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"44sIDxfi4eE6DnyzDnOP","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"RKsa551L2bvBOJfzwdJ2","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"RcWjTlO9mKhxQPBO1hMd","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"4DIsaHr34tZdMbx6M5ic","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"RRXKp7To6nuhy7ixADJz","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"hj0use7AU1fymtKYbNMd","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"FjJUpPlWXmHkUScGe0wk","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"re7ITd16sMgP2oBFGDOC","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"faPTGRfrhFhTvystTFcb","title":"lcd.drawNumber(x, y, value [, flags [, inversColor]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"6vs5Xf1MsUE97cZm3Jl7","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"3XiUpW89GiDCjkF8zst8","title":"lcd.drawPixmap(x, y, name)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"n7Hi19FD8IwLJmvdfxkb","title":"lcd.drawPoint(x, y)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"DU9CWjXHKrFXyc9wdduK","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"eh3hKWKm88gviJOTmUCM","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"LvJdLkyJ36QBiolkYppO","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"TpvqL5elmr3z6bkvv5SN","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"HUQBdHIl5EZApWQuJdpU","title":"lcd.drawText(x, y, text [, flags [, inversColor]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"M3KvycCPM1P3lk7RSqmd","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawtextlines-x-y-w-h-text-flags","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"0LoCP4ElN7Yn2UjZmoTj","title":"lcd.drawTimer(x, y, value [, flags [, inversColor]])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"5laC46VP6MzXCMjM5HOi","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"uoyQfMwArTAEu8JOyOdV","title":"lcd.exitFullScreen()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ARjmAdk9XgGUGlXQIaZk","title":"lcd.getColor(flags)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"5GS29aFOHnXlL1m8cPj0","title":"lcd.getLastLeftPos()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"w7JcMnqEpmJ3qUEm1ji5","title":"lcd.getLastPos()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"utAYctI2OQUCvPT8wUCz","title":"lcd.getLastRightPos()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"oXgLnxGw8MzqFoYkjKpw","title":"lcd.invertRect(x, y, w, h [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.invertrect-x-y-w-h-flags","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"cOUk1QC21fkOpVU4aZRa","title":"lcd.refresh()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"L4Rm7l7AixA8591Dzgfx","title":"lcd.resetBacklightTimeout()","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"GeIA5mkMTr87m7GlZa6f","title":"lcd.setColor(colorIndex, color)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"dcOJ3NqBXlZ2riZlkMmy","title":"lcd.sizeText(text [, flags])","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"5PFV5AGCxZGJmub8JMh5","title":"Bitmap Functions","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"hqT7IQbBluvFAvdJbBz7","title":"Bitmap.getSize(name)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"N1SvTsSZ08TEnV7zROY2","title":"Bitmap.open(name)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"GNVVbV1vasG4FlSY99Gc","title":"Bitmap.resize(bitmap, width, height)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/bitmap.resize-bitmap-width-height","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"oBRrTtvaNbNJP9gJ0Y03","title":"Bitmap.toMask(bitmap)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/bitmap.tomask-bitmap","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"k1ppEPuJDPwuPNI7hetH","title":"Filesystem","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/filesystem","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"uxDK0QiXOj0gpFWqy2qb","title":"dir(directory)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/filesystem/dir-directory","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"Goydp5lJ0huF3ANzKFys","title":"fstat(path)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/filesystem/fstat-path","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"EUT3AANBU7VkUiMs3kNl","title":"del(file or directory)","pathname":"/2.9/part_iii_-_opentx_lua_api_reference/filesystem/del-file-or-directory","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"LG3vwSLrLRIaf5iBY6oD","title":"Advanced Topics","pathname":"/2.9/part_iv_-_advanced_topics","siteSpaceId":"sitesp_1Ye3l","description":""},{"id":"OCy7dBw7eYY5d3XC9MKJ","title":"Lua data sharing across scripts","pathname":"/2.9/part_iv_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Advanced Topics"}]},{"id":"dmeVhy0n7dKollhlGi6m","title":"Debugging techniques","pathname":"/2.9/part_iv_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Advanced Topics"}]},{"id":"IfEQklgrm75o2mwPMKHH","title":"Speed/memory optimizaton tricks","pathname":"/2.9/part_iv_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Advanced Topics"}]},{"id":"fra2dj3xynheAZIQQbU1","title":"Appendix","pathname":"/2.9/appendix","siteSpaceId":"sitesp_1Ye3l","description":""},{"id":"MWeCQtL3UPth78RkXp6Q","title":"Fonts","pathname":"/2.9/appendix/fonts","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"XUN2kD8GGu3sPMScHTqx","title":"Units","pathname":"/2.9/appendix/units","siteSpaceId":"sitesp_1Ye3l","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"IzB0Q2DYgKfHCyG8OULp","title":"EdgeTX 2.10 Lua Reference Guide","pathname":"/2.10","siteSpaceId":"sitesp_hJk7Q","description":""},{"id":"XKkwf7BS30bnk3UNYU6y","title":"Introduction","pathname":"/2.10/introduction","siteSpaceId":"sitesp_hJk7Q","description":""},{"id":"2SIfcp9XESuO6kCZvwM4","title":"Acknowledgments","pathname":"/2.10/introduction/acknowledgments","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"2UGBcPNODfY8vKulwGTB","title":"Getting Started","pathname":"/2.10/introduction/getting_started","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Introduction"}]},{"id":"8Bd7OdVOvAOt3VUzEzlM","title":"Script Type Overview","pathname":"/2.10/part_i_-_script_type_overview","siteSpaceId":"sitesp_hJk7Q","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used."},{"id":"wsZHXT8C18RS0uMZ5JNk","title":"Custom (Mixer) Scripts","pathname":"/2.10/part_i_-_script_type_overview/mix","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"5wN64Fsud0Hv2KirkyWe","title":"Telemetry Scripts","pathname":"/2.10/part_i_-_script_type_overview/telemetry","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"ekSFDHYjArHdFWGiJSjE","title":"One-Time Scripts","pathname":"/2.10/part_i_-_script_type_overview/one-time_scripts","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"MRqlKH8q9d0YhNjtK37L","title":"Function Scripts","pathname":"/2.10/part_i_-_script_type_overview/function_scripts","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"IkHOdZN3vH0dz8VWvoc3","title":"Widget Scripts","pathname":"/2.10/part_i_-_script_type_overview/widget_scripts","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Script Type Overview"}]},{"id":"MIdZIntDO6fUmbpWvlwq","title":"EdgeTX Lua API Programming Guide","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide","siteSpaceId":"sitesp_hJk7Q","description":""},{"id":"DMskKQFntMtIUfAaPrak","title":"Lua Basics","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/lua-basics","siteSpaceId":"sitesp_hJk7Q","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"hMsPm6FBBHvaBBZn1E2l","title":"Loading Code Modules Dynamically","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/loading-code-modules-dynamically","siteSpaceId":"sitesp_hJk7Q","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"pVbFdc9oXsG5fqjz4ath","title":"Saving Memory","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/saving-memory","siteSpaceId":"sitesp_hJk7Q","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"dUGLyjV12Y7I3twkQLdx","title":"Using Key and Touch Events","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/using-key-and-touch-events","siteSpaceId":"sitesp_hJk7Q","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"9RPmMZ65ZncLdzahBO9g","title":"Drawing Flags and Colors","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/drawing-flags-and-colors","siteSpaceId":"sitesp_hJk7Q","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"NH6TyIvPXF8zLaudz4cF","title":"Data Exchange with the EdgeTX Model Setup","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/data-exchange-with-the-edgetx-model-setup","siteSpaceId":"sitesp_hJk7Q","description":"An EdgeTX model has several data components that can be exchanged with Lua scripts. This section gives an overview.","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"AwOtD8vOcMvmcAN2LPdF","title":"Included Lua Libraries","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"}]},{"id":"OGsHQEXDoQwdNIZMWp0n","title":"io Library","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"}]},{"id":"SNr3Oeu6nB6j2wuUIBrk","title":"io.open()","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.open","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"u0pfPdB1pL1reiP2MkpV","title":"io.close()","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.close","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"b9oYKHjypGUpwfI9kOAm","title":"io.read()","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.read","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"w0jIILSlMb028I3bmWdq","title":"io.write()","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.write","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"X2i96K1onJlnWTnW27m3","title":"io.seek()","pathname":"/2.10/part_ii_-_opentx_lua_api_programming_guide/included_lua_libraries/io-library/io.seek","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Programming Guide"},{"label":"Included Lua Libraries"},{"label":"io Library"}]},{"id":"6RnJdSaEFpYlCjlAYOeK","title":"EdgeTX Lua API Reference","pathname":"/2.10/part_iii_-_opentx_lua_api_reference","siteSpaceId":"sitesp_hJk7Q","description":""},{"id":"PSL7kDwWMpUlErNAXh3x","title":"Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants","siteSpaceId":"sitesp_hJk7Q","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"VnJh9lgG9w9wWG0AG9fW","title":"Key Event Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/key_events","siteSpaceId":"sitesp_hJk7Q","description":"This page describes the value that is passed to scripts in the event parameter. It is used in Telemetry and One-Time scripts, as well as widget scripts in full screen mode.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"09PCATpoHC4cGqzAq4bt","title":"Touch Event Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/touch-event-constants","siteSpaceId":"sitesp_hJk7Q","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"pudrmX7rD9uLfetzokx5","title":"Flags and Pattern Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_hJk7Q","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"ADgwRyN6pzngOLLDnuFD","title":"Color Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/color-constants","siteSpaceId":"sitesp_hJk7Q","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"TOqyd6v4p3xtK0u1P6dS","title":"Special Character Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/special-character-constants","siteSpaceId":"sitesp_hJk7Q","description":"The radio's special characters can be used with the following text constants.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"nyXCxHQLmk6OC9qLCuHD","title":"Screen Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/screen-constants","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"W9KrW4WHa9flxUbHpzPH","title":"Logical Switch Function Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/logical-switch-function-constants","siteSpaceId":"sitesp_hJk7Q","description":"These constants give the type of logical switch function.","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"I2jXa2pt8Xt3Aw1YxNI9","title":"Special Function Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/special-function-constants","siteSpaceId":"sitesp_hJk7Q","description":"These constants determine the type of a Special Function","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"OzTap1wh9HkDSrTkU98u","title":"Widget Options Constants","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/constants/widget-options","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Constants"}]},{"id":"eOkXx3okTXYLiBFLVbPt","title":"General Functions","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"vmGXdtAlUcyqcYWjNVUl","title":"GREY()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/grey","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"BUStjmDaYBs87xwweQeb","title":"accessTelemetryPush()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/accesstelemetrypush","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"balswjPqL4T3QvndlPf5","title":"chdir(directory)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/chdir","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"YVZAHzivFsb9XgeWeD7h","title":"crossfireTelemetryPop()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypop","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"K5dJgZ8PV2GBUWhe2UqI","title":"crossfireTelemetryPush()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/crossfiretelemetrypush","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"SvO7XC0O2vkgfrx0XDvL","title":"defaultChannel(stick)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultchannel","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"H6WFBw5zvwuQZQjTie4t","title":"defaultStick(channel)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/defaultstick","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"Zq6nREK23CM9T4nhC4fg","title":"flushAudio()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/flushaudio","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"hAAhmZgLKPvvTeDBoNMJ","title":"getAvailableMemory()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getavailablememory","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"aEa0IfZzfjZZOlCy2NIw","title":"getDateTime()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getdatetime","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"1oiAwI0PzNKlHcfeRWkm","title":"getFieldInfo(source)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getfieldinfo","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"TkBBUrGPjz38p71FcFmf","title":"getFlightMode(mode)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getflightmode","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"H5HtlPZD1JAJyOmWHZFW","title":"getGeneralSettings()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getgeneralsettings","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"NhftxsN1KgOpFsktTTl8","title":"getGlobalTimer()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getglobaltimer","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"sVXlj6oiy09uIIcbO1nu","title":"getLogicalSwitchValue(id)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getlogicalswitchvalue-id","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"OjBwAr4HVNi3LDf0IaX2","title":"getOutputValue(outputIndex)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getoutputvalue-outputindex","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"evX5IGEO175jMXvBmacu","title":"getRAS()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getras","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ugPgJih7a8zGkHXdxbyn","title":"getRSSI()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrssi","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"NjpF1JIhK2yhw9oqv2I4","title":"getRotEncMode()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencmode","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"t6Rlhym4ZdvhDSKUWqnB","title":"getRotEncSpeed()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrotencspeed","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"2MGPSy9RQ5N4r5ub09Bc","title":"getRtcTime()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getrtctime","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"vqQwf3mIcYtt19EnHCTL","title":"getShmVar(id)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getshmvar-id","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"rkPknGctl1njJqqcJ8aX","title":"getSourceIndex(sourceName)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourceindex-sourcename","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"1IYCwz7DL2RiPht3fqo5","title":"getSourceName(sourceIndex)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcename-sourceindex","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"LPlkuZk9hT9CHT9vp2U4","title":"getSourceValue(source)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getsourcevalue-source","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"RzANZaq6ZsmpQ5ZA3VhB","title":"getSwitchIndex(positionName)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchindex-positionname","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"XRLXkqlRRwf4fcMxE7vH","title":"getSwitchName(switchIndex)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchname-switchindex","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"3dbHsGfLgV14KVBZHJIW","title":"getSwitchValue(switchIndex)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getswitchvalue-switchindex","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"9HvlcGRPmGjerssd0zG4","title":"getTime()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettime","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"xLvXwr7oGzUe2rMwlw8q","title":"getTxGPS()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/gettxgps","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"SyZ0dBnHDvm5ajxOhJwl","title":"getUsage()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getusage","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"of7f5ZIp2W2sFzw7rqB7","title":"getValue(source)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getvalue","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"ASplhJu04KoQgM9KK9w0","title":"getVersion()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/getversion","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"qZmlQrOFmW8xJluaulkL","title":"ghostTelemetryPop()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypop","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"NY0wR5waxnBoEWCtrYrF","title":"ghostTelemetryPush()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/ghosttelemetrypush","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"bDdbbknkclEx7PElciks","title":"killEvents(key)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/killevents","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"DP18C5HKORDX0kdwoMIU","title":"loadScript(file [, mode], [,env])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/loadscript","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"zBGqzvYStXIgL2NdydP0","title":"multiBuffer(address[,value])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/multibuffer","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"2P0Rwxeiju6MuqjALGJS","title":"playDuration(duration [, hourFormat [, volume]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playduration","siteSpaceId":"sitesp_hJk7Q","description":"Play a time value (text to speech)","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"xaLwYVJHC4w97lhE4Zul","title":"playFile(filename [, volume])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playfile","siteSpaceId":"sitesp_hJk7Q","description":"Play a file from the SD card","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"LNNpDl1RIpAlAWbAfC58","title":"playHaptic(duration, pause [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playhaptic","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"eynLhZ4c6gXOwN90SkbJ","title":"playNumber(value, unit [, attributes [, volume]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playnumber","siteSpaceId":"sitesp_hJk7Q","description":"Play a numerical value (text to speech)","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"YV55eI8YjkNWxLRjNlsE","title":"playTone(frequency, duration, pause [, flags [, freqIncr [, volume]]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/playtone","siteSpaceId":"sitesp_hJk7Q","description":"Play a tone","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"lPXzOEjAtiX8tDZDASR3","title":"popupConfirmation(title, message, event)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupconfirmation","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"y72amb0ja697ooxMjveg","title":"popupInput(title, event, input, min, max)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupinput","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"VJYP7WLE022QVGFGcqEY","title":"popupWarning(title, event)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/popupwarning","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"HWVTpK1UxhvtLhDBKWOQ","title":"resetGlobalTimer([type])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/resetglobaltimer","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"T4AZcest3uvr9aBvIORD","title":"serialGetPower(port_nr)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialgetpower-port_nr","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"wNWkwdAsTmiBhQ5R2aiW","title":"serialRead([num])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialread","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"0RayV8ylsnCf1dCGxDO5","title":"serialSetPower(port_nr, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialsetpower-port_nr-value","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"PAxymULR6cutau0Ts41d","title":"serialWrite(str)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/serialwrite","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"XK70y1RDGMDZ7VJHXHfn","title":"setSerialBaudrate(baudrate)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setserialbaudrate","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"gWi7M6UlnZS7SncNXEq1","title":"setShmVar(id, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setshmvar-id-value","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"FPCUsWbDXd6db3wNz6vg","title":"setStickySwitch(id, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/setstickyswitch-id-value","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"if6HKjXM2Zp7XMCYBR4Y","title":"setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"wByxrWU6AKdZIKOWRygl","title":"sources([first[, last]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sources-first-last","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"eNGvsia6dPlSLpOSKPbM","title":"switches([first[, last]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/switches-first-last","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"0muyqJvjyH8nw4kH60uO","title":"sportTelemetryPop()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypop","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"5PewreLFUZnfSPGXg3u1","title":"sportTelemetryPush()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/sporttelemetrypush","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"General Functions"}]},{"id":"tjov3EvmeEBxHxYVRjw6","title":"Model Functions","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"0MDEveVRWFrdYKSnwVUf","title":"model.defaultInputs()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/defaultinputs","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"HJuEd39YKtSVIHoLqrUl","title":"model.deleteFlightModes()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteflightmodes","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"9vqi1gKeR7pyqq75hAdQ","title":"model.deleteInput(input, line)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinput","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"QV1cNhUks6Q2KwzJENTD","title":"model.deleteInputs()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deleteinputs","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"qjSR2BlV49ptkL06HYeq","title":"model.deleteMix(channel, line)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemix","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6qgQJWlMqYRQCmnwquXh","title":"model.deleteMixes()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/deletemixes","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"8oZtlvrcKAcEAysHl9Fl","title":"model.getCurve(curve)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcurve","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"gVZ0zCAbaO16cqDd0Roo","title":"model.getCustomFunction(function)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getcustomfunction","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6dDn29y1QjpSsQkVslAC","title":"model.getFlightMode(index)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getflightmode","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"HH8MEgE1DewjoQtBlWXM","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getglobalvariable","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"vUJQ2clJstuUBXBZFtqt","title":"model.getInfo()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinfo","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"MySnfXuPOg7zWmDp8DEP","title":"model.getInput(input, line)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinput","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"LFGebXQMTwhOQb7SzcYE","title":"model.getInputsCount(input)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getinputscount","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"MDDw7Ht8PTkUABApQcYW","title":"model.getLogicalSwitch(switch)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getlogicalswitch","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"fZZHJTyWujbqolnrVZcl","title":"model.getMix(channel, line)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmix","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ztqAUXBjLOtaPCicQ4vw","title":"model.getMixesCount(channel)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmixescount","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"t3ZiOja61fSBZ4meUFPP","title":"model.getModule(index)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getmodule","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"JSZY3sZgaJh9hEQZvlBF","title":"model.getOutput(index)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getoutput","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"EBHzpO0FJmzvrqT76uWg","title":"model.getSensor(sensor)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/getsensor","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"INwjlDsKxUZKVVS4fd2E","title":"model.getSwashRing()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/model.getswashring","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"ZJfOxmcXHKEpAzIC1reL","title":"model.getTimer(timer)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/gettimer","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"Bkf53XfF2hz4Rnyv8WTn","title":"model.insertInput(input, line, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertinput","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"jqNfNKs3GDxINRXedMec","title":"model.insertMix(channel, line, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/insertmix","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"WbhDGi61IkHCjTJGPw2t","title":"model.resetSensor(sensor)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resetsensor","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"PU3fIj2GsIunvX9sG2RX","title":"model.resetTimer(timer)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/resettimer","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"rgTAEQL06ZdCCDmBGSm9","title":"model.setCurve(curve, params)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcurve","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"1jQ2CO9zhsazszSOYQY6","title":"model.setCustomFunction(function, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setcustomfunction","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"zETYopOCh5GiNYMmXLdu","title":"model.setFlightMode(index, params)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setflightmode","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"aQMIU5yIEzwIcJnYZ003","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setglobalvariable","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"6jiSLsSo9823ySQkSQZO","title":"model.setInfo(value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setinfo","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"xsu0mLpKRzdLAQq9mfJg","title":"model.setLogicalSwitch(switch, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setlogicalswitch","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"VjdcPjKOQqHy1ofH9ub0","title":"model.setModule(index, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"QOiFOoG7pqtswh7q1LRK","title":"model.setOutput(index, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setoutput","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"gADWZntYm5ipMxZb7vsj","title":"model.setSwashRing(params)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/model.setswashring-params","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"L3rU1FhWNkLorW9gh767","title":"model.setTimer(timer, value)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/settimer","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Model Functions"}]},{"id":"75h56ZfJD7KbaVyRT2ab","title":"Lcd Functions","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"qWGtHWkANGszHumMTFoR","title":"Lcd Functions Overview","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"XsY6vdmFUMXqoNU9ggLp","title":"lcd.RGB(r, g, b | rgb)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"NIZkJIILCZRaLRDU9b9O","title":"lcd.clear([color])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"RMmeCVtD51AuBRhVqa8V","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"jhX3NXiArZPniC5G5K6q","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"qd3qdb5TT7D9GGhkp3lo","title":"lcd.drawBitmap(bitmap, x, y [, scale])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"P22cQwYqehndiUM63oKS","title":"lcd.drawBitmapPattern(bitmap, x, y [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawbitmappattern-bitmap-x-y-flags","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"oLuqvzSYaNovd6eqv6rL","title":"lcd.drawBitmapPatternPie(bitmap, x, y, startAngle, endAngle [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawbitmappatternpie-bitmap-x-y-startangle-endangle-flags","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"yCUwyKEUdr7auyaF5pSU","title":"lcd.drawChannel(x, y, source, flags)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"SyfPCSeygIsCbSUbxC5W","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"89UFnIcWAzTAse0u4tpL","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"7WEjqUnuMhulFtUfp1AO","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"p0uADbAjESHOaSTQxIgD","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"9ygNueldnJROhSqKFp94","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"awcjpJFSv8DMyjyDDwau","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"6Jkjmde6fHkVbwtTnSW3","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ulQHxGfeYsbkxbsSYpS4","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"4ROlQBLg8gc2BG2a8YA6","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"NVkkCqBlteEekJFVfWU5","title":"lcd.drawNumber(x, y, value [, flags [, inversColor]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"tVF7Z8PVOW1e5IALJnvp","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"bN2Z6iuiE1C8EnbiqtKD","title":"lcd.drawPixmap(x, y, name)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"GOaN8UpJQcR0LWYh7flq","title":"lcd.drawPoint(x, y)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"86hEEpEN1zzrW0vBf7o3","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"nJgWryZ7CIGjqvLaJlAS","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"iwgFSarJ3nlDsNG5EnWj","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"23HKFfJpNvENtCJ88rbS","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"lDhXrLO5YAYTzVZbaMX0","title":"lcd.drawText(x, y, text [, flags [, inversColor]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"JjZCGquY8wWHT94aZVI6","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawtextlines-x-y-w-h-text-flags","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"o8yHdgE5grcQJARfb3uC","title":"lcd.drawTimer(x, y, value [, flags [, inversColor]])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"ACin8jbGQfN3vMYBZNqo","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"JrHOYxCsrvCqNOQOLPy1","title":"lcd.exitFullScreen()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"disOmnm4m6VXkKwq5uqc","title":"lcd.getColor(flags)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"7YJgv0NBIxuhyQqZ0Elf","title":"lcd.getLastLeftPos()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"jltubsnzCswF9EjAJtG9","title":"lcd.getLastPos()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"d9KUszGwa8dxzpbaoRQX","title":"lcd.getLastRightPos()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"rkSo2EfdLVLZKYsVIS4t","title":"lcd.invertRect(x, y, w, h [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.invertrect-x-y-w-h-flags","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"4DevThU0Qozm6gyf5KcI","title":"lcd.refresh()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"TOfkjnjdBIOJLzYOjZQi","title":"lcd.resetBacklightTimeout()","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"bOe05b3K9L0xjeDl0Zgi","title":"lcd.setColor(colorIndex, color)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"6QQJA7NFghStdkOgywB7","title":"lcd.sizeText(text [, flags])","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Lcd Functions"}]},{"id":"qOJpNXQF76Y6lklq6ysW","title":"Bitmap Functions","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"RtzF2WZ2EAUvYGnPTxU8","title":"Bitmap.getSize(name)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/getsize","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"vrEspUpJarLWiTDhMbhB","title":"Bitmap.open(name)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/open","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"nMbXx1GUDlEfXUs26tty","title":"Bitmap.resize(bitmap, width, height)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/bitmap.resize-bitmap-width-height","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"eeIgjuFQef1htmbryU2z","title":"Bitmap.toMask(bitmap)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/bitmap-functions-less-than-greater-than-luadoc-begin-bitmap/bitmap.tomask-bitmap","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Bitmap Functions"}]},{"id":"tN7CND2a3lHdUaQE3jK8","title":"Filesystem","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/filesystem","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"}]},{"id":"H70thMEJYVUMu2sOjLy6","title":"dir(directory)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/filesystem/dir-directory","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"fbX6zpx5a3jTgLcrWBpQ","title":"fstat(path)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/filesystem/fstat-path","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"Dc4HXRkjteziHDuLExLq","title":"del(file or directory)","pathname":"/2.10/part_iii_-_opentx_lua_api_reference/filesystem/del-file-or-directory","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"EdgeTX Lua API Reference"},{"label":"Filesystem"}]},{"id":"Swu3foKlF9mHQAeYA135","title":"Advanced Topics","pathname":"/2.10/part_iv_-_advanced_topics","siteSpaceId":"sitesp_hJk7Q","description":""},{"id":"XJUpjCaOpkaBJSFz07YE","title":"Lua data sharing across scripts","pathname":"/2.10/part_iv_-_advanced_topics/lua_data_sharing_across_scripts","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Advanced Topics"}]},{"id":"DeGW7Wo80lhhOEO46JO2","title":"Debugging techniques","pathname":"/2.10/part_iv_-_advanced_topics/debugging_techniques","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Advanced Topics"}]},{"id":"nvc6ASXZ9nhq18FU5psR","title":"Speed/memory optimizaton tricks","pathname":"/2.10/part_iv_-_advanced_topics/optimization_tricks","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Advanced Topics"}]},{"id":"Awij9LjsHq1W1d3FH5ly","title":"Appendix","pathname":"/2.10/appendix","siteSpaceId":"sitesp_hJk7Q","description":""},{"id":"PV0tuuxOh9sYXmp8YAEx","title":"Fonts","pathname":"/2.10/appendix/fonts","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"W8h86EWxCl9lGWwYrs8D","title":"Units","pathname":"/2.10/appendix/units","siteSpaceId":"sitesp_hJk7Q","description":"","breadcrumbs":[{"label":"Appendix"}]},{"id":"MIUQcOtXnOdYhvpdBOin","title":"EdgeTX LUA Reference Guide","pathname":"/2.11","siteSpaceId":"sitesp_e1M5j","description":""},{"id":"LQ8np1w7ZVyV7HkppwDt","title":"Overview","pathname":"/2.11/overview","siteSpaceId":"sitesp_e1M5j","description":"This section covers various topics of LUA implementation in EdgeTX operating system system"},{"id":"mQQ2p51qYDJxR4f1Barj","title":"Lua Basics","pathname":"/2.11/overview/lua-basics","siteSpaceId":"sitesp_e1M5j","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"Overview"}]},{"id":"dsMZgmqJxmNOaTD97TSB","title":"LUA version and included libraries","pathname":"/2.11/overview/version-libraries","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"}]},{"id":"h5cSOFZYXJ1BPNbAUdA6","title":"io Library","pathname":"/2.11/overview/version-libraries/io-library","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"LUA version and included libraries"}]},{"id":"QcU8U27WkAXXelsCGCsN","title":"Script Types","pathname":"/2.11/overview/script-types","siteSpaceId":"sitesp_e1M5j","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used.","breadcrumbs":[{"label":"Overview"}]},{"id":"ssMRRmSFUon7XrgxkwKC","title":"One-Time Scripts","pathname":"/2.11/overview/script-types/one-time-scripts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"rQACZibZKcmPvjgH2MA7","title":"Telemetry Scripts","pathname":"/2.11/overview/script-types/telemetry-scripts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"IAML1N0SpPnTaXSWbBqE","title":"Widget Scripts","pathname":"/2.11/overview/script-types/widget-scripts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"2egj9iHwm0HUwoKVOD7m","title":"Function Scripts","pathname":"/2.11/overview/script-types/function-scripts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"lU2cT6L8qWK6Jo7pwZTc","title":"Mixes Scripts","pathname":"/2.11/overview/script-types/mixes-scripts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"AlQBFNy2NYi5V8Jrq672","title":"Radios","pathname":"/2.11/overview/radios","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"}]},{"id":"RQqbccz7Sh1JWlWBmbV1","title":"BetaFPV","pathname":"/2.11/overview/radios/betafpv","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"obfELRY5Z8OTD5CsaKHr","title":"FlySky","pathname":"/2.11/overview/radios/flysky","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"0XKXfc8wykxMAb5ROTFt","title":"FrSky","pathname":"/2.11/overview/radios/frsky","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"rcyWC4VKMrXZR1Sy4GrV","title":"Jumper","pathname":"/2.11/overview/radios/jumper","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"h6yyg7VxasuLWdkK1Mxn","title":"Radiomaster","pathname":"/2.11/overview/radios/radiomaster","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"ZPu4btjr98IoJC0L0E5i","title":"TX16S","pathname":"/2.11/overview/radios/radiomaster/tx16s","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Radios"},{"label":"Radiomaster"}]},{"id":"EwncE932KHFZvJ5BXSSc","title":"Internal indexes","pathname":"/2.11/overview/internal-indexes","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"}]},{"id":"7kxJXsrJmBzK7Q2jHb08","title":"Source List","pathname":"/2.11/overview/internal-indexes/source-list","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Internal indexes"}]},{"id":"MjphVq9udEsgSZtC3NR3","title":"Switch Positions List","pathname":"/2.11/overview/internal-indexes/switch-positions-id","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Overview"},{"label":"Internal indexes"}]},{"id":"XDhmFPl4WOYdTlGxDd68","title":"LUA API Reference","pathname":"/2.11/lua-api-reference","siteSpaceId":"sitesp_e1M5j","description":""},{"id":"WB0P5UVffI8vXhghk4E6","title":"Constants","pathname":"/2.11/lua-api-reference/constants","siteSpaceId":"sitesp_e1M5j","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"OCLx59i2N1ZGaEW4kfVZ","title":"Color Constants","pathname":"/2.11/lua-api-reference/constants/color-constants","siteSpaceId":"sitesp_e1M5j","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"s84A2Qvfgft8zDenMroS","title":"Flags and Pattern Constants","pathname":"/2.11/lua-api-reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_e1M5j","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"CxWA6VdOCO5431v65RdG","title":"Key Event Constants","pathname":"/2.11/lua-api-reference/constants/key-event-constants","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"aGUNzFdE8yGlu1Pm3Tjs","title":"Logical Switch Function Constants","pathname":"/2.11/lua-api-reference/constants/logical-switch-function-constants","siteSpaceId":"sitesp_e1M5j","description":"These constants are used with logical switch functions.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"ofk3B5Kw7WZ9s8O0fA9p","title":"Screen Constants","pathname":"/2.11/lua-api-reference/constants/screen-constants","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"nUaRCiYIZdbdaUOSNTWZ","title":"Special Character Constants","pathname":"/2.11/lua-api-reference/constants/special-character-constants","siteSpaceId":"sitesp_e1M5j","description":"The radio's special characters can be used with the following text constants.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"vfbqnkZ9CDoPr1Vf0gum","title":"Special Function Constants","pathname":"/2.11/lua-api-reference/constants/special-function-constants","siteSpaceId":"sitesp_e1M5j","description":"These constants determine the type of a Special Function","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"LfMMpob3L2GbXZvQ9Ejj","title":"Touch Event Constants","pathname":"/2.11/lua-api-reference/constants/touch-event-constants","siteSpaceId":"sitesp_e1M5j","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"BMEdfBVxtEJUB7WqKSOt","title":"Widget Options Constants","pathname":"/2.11/lua-api-reference/constants/widget-options","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"q0r0rkgzmTxG5uZm4IYD","title":"Units","pathname":"/2.11/lua-api-reference/constants/units","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"BoXsgMjYoKUpVvTr3jM9","title":"Display LCD","pathname":"/2.11/lua-api-reference/display-lcd","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"cNqpmASLanzoQL3l5hiq","title":"Lcd Functions Overview","pathname":"/2.11/lua-api-reference/display-lcd/lcd-functions-overview","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"zHDZ8tZ06cnCLe3fwxPx","title":"lcd.clear","pathname":"/2.11/lua-api-reference/display-lcd/clear","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"py5DjngZlx52x9UuiQDB","title":"lcd.drawBitmap","pathname":"/2.11/lua-api-reference/display-lcd/drawbitmap","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"FtCcOaSEdIoFRmfueprZ","title":"lcd.drawChannel","pathname":"/2.11/lua-api-reference/display-lcd/drawchannel","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"yN0B3DKo25Ib0olXmhuy","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawcombobox","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"UD2h9Mt56yzQhJK0gb58","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawfilledrectangle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"XWDEf7tdRbo5OSD6PBPN","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawgauge","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"U4Pafa334c0xrzRfwvk5","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/2.11/lua-api-reference/display-lcd/drawline","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"slh6DWC1uTZUuzQut0S9","title":"lcd.drawNumber(x, y, value [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawnumber","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"47nruQJIscc34auKovgb","title":"lcd.drawPixmap","pathname":"/2.11/lua-api-reference/display-lcd/drawpixmap","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"9cFX8PMEMeF0iPJJoZIM","title":"lcd.drawPoint(x, y)","pathname":"/2.11/lua-api-reference/display-lcd/drawpoint","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"hx5B6dBXCeNLzluP5eYy","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/2.11/lua-api-reference/display-lcd/drawrectangle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"huSOSuyYQ6uo3wAUXmHs","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/2.11/lua-api-reference/display-lcd/drawscreentitle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"ub9mZkREvRFJIBwfgkB7","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawsource","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"xhIa6yNy8NNCJ9F3kG6j","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/2.11/lua-api-reference/display-lcd/drawswitch","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"tvFQ8mYYM1nYwlEVoWhy","title":"lcd.drawText(x, y, text [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawtext","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"QRi75e7SJcYJcOkgkd8d","title":"lcd.drawTimer(x, y, value [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawtimer","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"xWqf78mqtTDPwR5kquKg","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawannulus","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Rmb721BA6uWMjfy1s3h8","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawarc","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"SQTKKOQjw3y9ilKD84rD","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawcircle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"kKCX3fTg6zDbOr4r9Rh9","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawfilledcircle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"1LdjrRQVk7Ub2WObIhB3","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawfilledtriangle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"MPnlp6cwhJqAiP9NGKWy","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawhudrectangle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"390yV3nHPBZmP6p2sAi8","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawlinewithclipping","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"1lP9QEjZJTk7WRotsX5G","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawpie","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"d3niwQHhp3nNNTE1MKYf","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/drawtriangle","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"QwU9JWIZYFBjSnJIpBuA","title":"lcd.getColor(area)","pathname":"/2.11/lua-api-reference/display-lcd/getcolor","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"A7Hb20GgHDMtKN105mV8","title":"lcd.getLastLeftPos()","pathname":"/2.11/lua-api-reference/display-lcd/getlastleftpos","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"gXDCERigQ2HoSJSRnEr2","title":"lcd.getLastPos()","pathname":"/2.11/lua-api-reference/display-lcd/getlastpos","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"34oVxhFGOeGHquBDzTd8","title":"lcd.getLastRightPos()","pathname":"/2.11/lua-api-reference/display-lcd/getlastrightpos","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"p7l0ZaCJdXJVda1xyGHC","title":"lcd.drawBitmapPattern(bitmap, x, y [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/lcd.drawbitmappattern","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"XVNm0pmfcXMWxAShTP5v","title":"lcd.drawBitmapPatternPie(bitmap, x, y, startAngle, endAngle [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/lcd.drawbitmappatternpie","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"KJNEEJ8Ib87mYPWSwFAQ","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/lcd.drawtextlines","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"pkQ5e4DjuvVNXj7uPbQU","title":"lcd.exitFullScreen()","pathname":"/2.11/lua-api-reference/display-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"ydykiJGQMn9VvRkDssq2","title":"lcd.invertRect(x, y, w, h [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/lcd.invertrect","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"mY0UvordszyvFZ2qycZH","title":"lcd.refresh()","pathname":"/2.11/lua-api-reference/display-lcd/refresh","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"ov1GkuqUcaavW9ra7fCy","title":"lcd.RGB","pathname":"/2.11/lua-api-reference/display-lcd/rgb","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"xeUa3GI8XGDdzfnvZL77","title":"lcd.resetBacklightTimeout()","pathname":"/2.11/lua-api-reference/display-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Rf9M3MJMp7Kdl8IaNA3Q","title":"lcd.setColor(area, color)","pathname":"/2.11/lua-api-reference/display-lcd/setcolor","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"vSHqAZ3nuKK2oYgC7spZ","title":"lcd.sizeText(text [, flags])","pathname":"/2.11/lua-api-reference/display-lcd/sizetext","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"p6vGa7TCYJJd7AFWGswx","title":"popupConfirmation(title, message, event)","pathname":"/2.11/lua-api-reference/display-lcd/popupconfirmation","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"3v5gxDBejEfwuY4uMECL","title":"popupInput(title, event, input, min, max)","pathname":"/2.11/lua-api-reference/display-lcd/popupinput","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Wy5xDhYRhwJN8YAdNgjw","title":"popupWarning(title, event)","pathname":"/2.11/lua-api-reference/display-lcd/popupwarning","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"EXqyX5VmFrnx2sXUXzM9","title":"GREY()","pathname":"/2.11/lua-api-reference/display-lcd/grey","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Q4fkcvGC4B18b1MB3xXx","title":"LVGL for Lua","pathname":"/2.11/lua-api-reference/lvgl-for-lua","siteSpaceId":"sitesp_e1M5j","description":"The API for adding and using LVGL widgets in Lua scripts.","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"fyQgYAV92RH2NvNZVLQ4","title":"Overview","pathname":"/2.11/lua-api-reference/lvgl-for-lua/overview","siteSpaceId":"sitesp_e1M5j","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"70fPtD46xzUEiWkJQMxq","title":"Examples","pathname":"/2.11/lua-api-reference/lvgl-for-lua/examples","siteSpaceId":"sitesp_e1M5j","description":"Some simple example scripts to set the stage.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"bhtd0JY8WU5LDqcr9nGp","title":"Constants","pathname":"/2.11/lua-api-reference/lvgl-for-lua/constants","siteSpaceId":"sitesp_e1M5j","description":"Constants defined for use in LVGL layouts.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"srkE5qQYUl8kLjhLXlxy","title":"API","pathname":"/2.11/lua-api-reference/lvgl-for-lua/api","siteSpaceId":"sitesp_e1M5j","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"zKtVfyJHTp4pgrvJtvEI","title":"lvgl.align","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.align","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing a text alignment name. When tapped a popup menu is opened to choose a text alignment from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"khb7bdLNw2tO9rbHvS7R","title":"lvgl.arc","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.arc","siteSpaceId":"sitesp_e1M5j","description":"Display an arc.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"IHyMhp3dRkKNKhLj3HKY","title":"lvgl.box","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.box","siteSpaceId":"sitesp_e1M5j","description":"Create a container for managing object layout.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"4SLmbfj7TTB7GrjvDCkd","title":"lvgl.build","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.build","siteSpaceId":"sitesp_e1M5j","description":"Build a complex UI in a single operation.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"oHlq1g0PgEJypIgVFokD","title":"lvgl.button","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.button","siteSpaceId":"sitesp_e1M5j","description":"Add a text button using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"PJjaewgxplnRKBOC9jvm","title":"lvgl.choice","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.choice","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing an option value. When tapped a popup menu is opened with multiple options to choose from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"7NV3UZNBCPFdeK7rils4","title":"lvgl.file","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.file","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing a filename. When tapped a popup file picker is opened. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"WUvaHkIJJFM9BhXe4oTf","title":"lvgl.circle","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.circle","siteSpaceId":"sitesp_e1M5j","description":"Display a solid or filled circle.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"z145302o6P1kBGgTCKF0","title":"lvgl.clear","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.clear","siteSpaceId":"sitesp_e1M5j","description":"Delete LVGL objects.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"9J3xNSScYHf74KRAZKEx","title":"lvgl.color","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.color","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing a color swatch. When tapped the color picker dialog is opened allowing the user to select a new color. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"3J9NlZotHaBeYQuJpQJp","title":"lvgl.confirm","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.confirm","siteSpaceId":"sitesp_e1M5j","description":"Display a 'Yes' / 'No' confirmation dialog box.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"hLTUZVHzAsJBMMbTLHzY","title":"lvgl.dialog","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.dialog","siteSpaceId":"sitesp_e1M5j","description":"Display a dialog box.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"WI255EQ4I6PyBtm9EwQ8","title":"lvgl.isAppMode","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.isappmode","siteSpaceId":"sitesp_e1M5j","description":"Test if widget is running in App Mode.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"GhJpNB3OiPRRZfDyiA6y","title":"lvgl.isFullScreen","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.isfullscreen","siteSpaceId":"sitesp_e1M5j","description":"Test if widget is running in full screen mode.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"Mmhk6KwEfEtlTmloUkPW","title":"lvgl.exitFullScreen","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.exitfullscreen","siteSpaceId":"sitesp_e1M5j","description":"If widget is running in full screen mode, then return to normal mode.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"smm3UnjScgqT4FdZRQG2","title":"lvgl.font","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.font","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing a font name. When tapped a popup menu is opened to choose a font from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"lqjkw2MhflMLURlDAzHn","title":"lvgl.getContext","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.getcontext","siteSpaceId":"sitesp_e1M5j","description":"For a widget, returns the local instance table created (and returned from) the script 'create()' function.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"n526a10aEu9cWstmtu4V","title":"lvgl.getScrollPos","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.getscrollpos","siteSpaceId":"sitesp_e1M5j","description":"Get the current scroll position (X, Y) of a container object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"EhUNspDJW2GIlNWT3qV2","title":"lvgl.hide","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.hide","siteSpaceId":"sitesp_e1M5j","description":"Hide an LVGL object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"NVsoxCmU7ceCXgke1mVq","title":"lvgl.hline","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.hline","siteSpaceId":"sitesp_e1M5j","description":"Display a horizontal line.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"6npWpJ7Ymd5ysf0TxPFh","title":"lvgl.image","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.image","siteSpaceId":"sitesp_e1M5j","description":"Display an image. The image will be centered in the frame (x, y, w, h). Images can be scaled to either fit entirely within the frame or completely fill the frame.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"ddFsORybYkNO0aqHCQCa","title":"lvgl.label","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.label","siteSpaceId":"sitesp_e1M5j","description":"Display a text label.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"SC3fsK6DZdZ9iZhxpFFo","title":"lvgl.line","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.line","siteSpaceId":"sitesp_e1M5j","description":"Display one or more connected lines.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"b7LJI4AVTDXTGFcfsByI","title":"lvgl.menu","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.menu","siteSpaceId":"sitesp_e1M5j","description":"Opens a popup menu with multiple options to choose from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"BTSmFaooNTjmyrt9itxS","title":"lvgl.message","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.message","siteSpaceId":"sitesp_e1M5j","description":"Display a message dialog box.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"Hf76CAd3ZseDTetsRnQZ","title":"lvgl.momentaryButton","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.momentarybutton","siteSpaceId":"sitesp_e1M5j","description":"Add a momentary text button using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"bom0sqUfFyUhDTdxkaB3","title":"lvgl.numberEdit","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.numberedit","siteSpaceId":"sitesp_e1M5j","description":"Add a number edit box using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"bT4UHuoVbsfkQOPB332S","title":"lvgl.page","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.page","siteSpaceId":"sitesp_e1M5j","description":"Create a page layout for a One-Time script using EdgeTX styling. The page layout has a menu bar at the top with title and sub-title lines as well as a 'back' button in the top left corner.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"4kbPmrnXEp47rQmNsi24","title":"lvgl.qrcode","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.qrcode","siteSpaceId":"sitesp_e1M5j","description":"Display a QR code.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"TpMOb0Aui7ZrF6TwYcbc","title":"lvgl.rectangle","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.rectangle","siteSpaceId":"sitesp_e1M5j","description":"Display a text label.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"YzHBLstV2NGZve7AIyHI","title":"lvgl.set","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.set","siteSpaceId":"sitesp_e1M5j","description":"Update the settings for an LVGL object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"CcjS3Tz8OB26mjUEtXxd","title":"lvgl.setting","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.setting","siteSpaceId":"sitesp_e1M5j","description":"Create a container for managing object layout.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"nChhE00NBWQqwIMxhWqa","title":"lvgl.show","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.show","siteSpaceId":"sitesp_e1M5j","description":"Show an LVGL object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"KyhslJI2Ir0dyEtX84IC","title":"lvgl.slider","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.slider","siteSpaceId":"sitesp_e1M5j","description":"Add a slider using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"yHTTY21BHF1QBWCTK4eY","title":"lvgl.verticalSlider","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.verticalslider","siteSpaceId":"sitesp_e1M5j","description":"Add a slider using the EdgeTX style with vertical orientation .","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"1rjE688AJN5dB1partSf","title":"lvgl.source","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.source","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing a source name. When tapped the switch select popup is opened to allow the user to select a new source. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"DO3iLTn1AwxCCPMBgKmL","title":"lvgl.switch","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.switch","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing a switch name. When tapped the switch select popup is opened to allow the user to select a new switch. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"Mzdy2XYHfVu80vaqXp0Z","title":"lvgl.textEdit","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.textedit","siteSpaceId":"sitesp_e1M5j","description":"Add a text edit box using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"OP8oyuYkcauXQGysS6Z4","title":"lvgl.timer","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.timer","siteSpaceId":"sitesp_e1M5j","description":"Display a button showing a timer name. When tapped a popup menu is opened to choose a timer from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"QVX7jJeudWpjYfkyZ7iT","title":"lvgl.toggle","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.toggle","siteSpaceId":"sitesp_e1M5j","description":"Add a toggle switch using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"7QYoSinp9HUdFKVRrRC3","title":"lvgl.triangle","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.triangle","siteSpaceId":"sitesp_e1M5j","description":"Display a filled triangle.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"g63f56Tm2W4MaosU0hLv","title":"lvgl.vline","pathname":"/2.11/lua-api-reference/lvgl-for-lua/lvgl.vline","siteSpaceId":"sitesp_e1M5j","description":"Display a vertical line.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"UjCdQCHbasvtv4WUC6L0","title":"Model Functions","pathname":"/2.11/lua-api-reference/model","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"dpb55rir48WTzQ9IRZH5","title":"model.defaultInputs","pathname":"/2.11/lua-api-reference/model/defaultinputs","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"qpFzXThuQb9LSKI4ntYA","title":"model.deleteFlightModes","pathname":"/2.11/lua-api-reference/model/deleteflightmodes","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"C2N4lHQE4fbywr5lswbl","title":"model.deleteInput","pathname":"/2.11/lua-api-reference/model/deleteinput","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"Bp6Uh3T0Td4nHdfT4nV1","title":"model.deleteInputs","pathname":"/2.11/lua-api-reference/model/deleteinputs","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"BsbRAIS4xJ1RDzAUxDPk","title":"model.deleteMix","pathname":"/2.11/lua-api-reference/model/deletemix","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"TVEKJ4b0KRGsnr3oqD8l","title":"model.deleteMixes","pathname":"/2.11/lua-api-reference/model/deletemixes","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"f2Bf0DNloLYXAh6DwEMe","title":"model.getCurve","pathname":"/2.11/lua-api-reference/model/getcurve","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"94C9KU4Ar7XOwYfxZqAT","title":"model.getCustomFunction(function)","pathname":"/2.11/lua-api-reference/model/getcustomfunction","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"xI9b0SyGgGpPZfHBJYRp","title":"model.getFlightMode(index)","pathname":"/2.11/lua-api-reference/model/getflightmode","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"ohTOsS5W8zgMfXrjzYcy","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/2.11/lua-api-reference/model/getglobalvariable","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"6u58pAiVzfnQs5QYpmuZ","title":"model.getInfo","pathname":"/2.11/lua-api-reference/model/getinfo","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"D4Pi4abyu3vFJF9wsFtO","title":"model.getInput(input, line)","pathname":"/2.11/lua-api-reference/model/getinput","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"NdutzOrGKOt50N1GVJVv","title":"model.getInputsCount(input)","pathname":"/2.11/lua-api-reference/model/getinputscount","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"N9v3pZhegDBzSU7Xdzsg","title":"model.getLogicalSwitch(switch)","pathname":"/2.11/lua-api-reference/model/getlogicalswitch","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"lxMcl6h1C2EueR2dK5bP","title":"model.getMix(channel, line)","pathname":"/2.11/lua-api-reference/model/getmix","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"tDt5qFBNBQRtaZQR6bKe","title":"model.getMixesCount(channel)","pathname":"/2.11/lua-api-reference/model/getmixescount","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"1qKEsPdJsyNHkq5sJyIV","title":"model.getModule(index)","pathname":"/2.11/lua-api-reference/model/getmodule","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"v1YE2bNbQ4gGHJhQChgz","title":"model.getOutput(index)","pathname":"/2.11/lua-api-reference/model/getoutput","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"3frhJ3S9gjSWKh9qmlxM","title":"model.getSensor(sensor)","pathname":"/2.11/lua-api-reference/model/getsensor","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"aWba9RYSvbfnCOFB6zVg","title":"model.getTimer(timer)","pathname":"/2.11/lua-api-reference/model/gettimer","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"BapwH18VjikCxuTfteEs","title":"model.insertInput(input, line, value)","pathname":"/2.11/lua-api-reference/model/insertinput","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"dn8lDKsuZNOMsWhVgQLp","title":"model.insertMix(channel, line, value)","pathname":"/2.11/lua-api-reference/model/insertmix","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"t1Nk53nF0w7zNbcKwcpJ","title":"model.getSwashRing()","pathname":"/2.11/lua-api-reference/model/model.getswashring","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"C6arxFMybRXEs0mTkbpb","title":"model.setSwashRing(params)","pathname":"/2.11/lua-api-reference/model/model.setswashring-params","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"wB0j2iR3n5ocxnlxrE4e","title":"model.resetSensor(sensor)","pathname":"/2.11/lua-api-reference/model/resetsensor","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"6PeP2RAp70jeFYf7zIJ0","title":"model.resetTimer(timer)","pathname":"/2.11/lua-api-reference/model/resettimer","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"iMfTB3dQoMGjw0eWxgaP","title":"model.setCurve(curve, params)","pathname":"/2.11/lua-api-reference/model/setcurve","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"GxOBTcrb0eECMe7MKAGZ","title":"model.setCustomFunction(function, value)","pathname":"/2.11/lua-api-reference/model/setcustomfunction","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"GiCQloNRq2LVGivCGsrx","title":"model.setFlightMode(index, params)","pathname":"/2.11/lua-api-reference/model/setflightmode","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"GQwUDBdeFKOzsMD58NRA","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/2.11/lua-api-reference/model/setglobalvariable","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"VNKbvJBnRAVjGfa0uHx9","title":"model.setInfo(value)","pathname":"/2.11/lua-api-reference/model/setinfo","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"gvwKT9STMFVsXpmDi2Mx","title":"model.setLogicalSwitch(switch, value)","pathname":"/2.11/lua-api-reference/model/setlogicalswitch","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"LgE49pFgP3Smxc21PsR8","title":"model.setModule(index, value)","pathname":"/2.11/lua-api-reference/model/setmodule","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"tt0YC8L88skQWOCKYQ7J","title":"model.setOutput(index, value)","pathname":"/2.11/lua-api-reference/model/setoutput","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"FPd4FIAgIRSTxQQoE0ki","title":"model.setTimer(timer, value)","pathname":"/2.11/lua-api-reference/model/settimer","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"sV4boCIWo6tCYsWAjc6m","title":"Bitmap Functions","pathname":"/2.11/lua-api-reference/bitmap","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"iRllFwnLLEBD2XhqPjVQ","title":"Bitmap.resize(bitmap, width, height)","pathname":"/2.11/lua-api-reference/bitmap/bitmap.resize","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"dT5bq2Kc9MO3JRpY3uun","title":"Bitmap.toMask(bitmap)","pathname":"/2.11/lua-api-reference/bitmap/bitmap.tomask","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"2XYgDqqXXcSd5Nr0WWJ3","title":"Bitmap.getSize(name)","pathname":"/2.11/lua-api-reference/bitmap/getsize","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"VUiCqqOAolWeKtXMD47C","title":"Bitmap.open(name)","pathname":"/2.11/lua-api-reference/bitmap/open","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"Jgf0GGhLOxEGSFu9JP1m","title":"Filesystem","pathname":"/2.11/lua-api-reference/filesystem","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"6f52YUreFqIt9RpzONrO","title":"chdir(directory)","pathname":"/2.11/lua-api-reference/filesystem/chdir","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"yjuouTc0HgeR9olVW85D","title":"del(file or directory)","pathname":"/2.11/lua-api-reference/filesystem/del","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"kIZQkv0MCsrRQmdgHpuh","title":"dir(directory)","pathname":"/2.11/lua-api-reference/filesystem/dir","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"cyul5hXqGHn3hqKeZt1r","title":"fstat(path)","pathname":"/2.11/lua-api-reference/filesystem/fstat","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"cR5rrKvVEnBBzm8P9m9s","title":"Serial Ports","pathname":"/2.11/lua-api-reference/serial-ports","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"CvedSIJ0SWtrWH6l90KR","title":"serialGetPower(port_nr)","pathname":"/2.11/lua-api-reference/serial-ports/serialgetpower","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"N3frHsiAMKdGKKOpGo5S","title":"serialRead([num])","pathname":"/2.11/lua-api-reference/serial-ports/serialread","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"V4cIVcSvKUiv4yuvktCW","title":"serialSetPower(port_nr, value)","pathname":"/2.11/lua-api-reference/serial-ports/serialsetpower","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"iqvJL9UU0619n8OMxZXH","title":"serialWrite(str)","pathname":"/2.11/lua-api-reference/serial-ports/serialwrite","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"MEGl7X9Iqj1tG0QAwPmR","title":"setSerialBaudrate(baudrate)","pathname":"/2.11/lua-api-reference/serial-ports/setserialbaudrate","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"FnqUOQ2rExFedh3WsJGn","title":"System","pathname":"/2.11/lua-api-reference/system","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"IZ6Bjbo7VHaUsII3YjvV","title":"defaultChannel(stick)","pathname":"/2.11/lua-api-reference/system/defaultchannel","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"a9ToxpvmTjAIcuhFWV0t","title":"defaultStick(channel)","pathname":"/2.11/lua-api-reference/system/defaultstick","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"tLoORWU748cTORNcA9Yw","title":"getGeneralSettings()","pathname":"/2.11/lua-api-reference/system/getgeneralsettings","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"Lt8fOT7qKrXePuu030up","title":"getVersion()","pathname":"/2.11/lua-api-reference/system/getversion","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"zDTyLaYCg7hlNl4zmHh4","title":"screenshot()","pathname":"/2.11/lua-api-reference/system/rgb","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"m4RkaKwxx493IGjynKHs","title":"Key Inputs","pathname":"/2.11/lua-api-reference/key-inputs","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"CTvTk0klyZy7gqpOZ5TW","title":"getRotEncMode()","pathname":"/2.11/lua-api-reference/key-inputs/getrotencmode","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Key Inputs"}]},{"id":"lelFhYnlkoSLYvN0J1ii","title":"getRotEncSpeed()","pathname":"/2.11/lua-api-reference/key-inputs/getrotencspeed","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Key Inputs"}]},{"id":"0Y0ZzAgdiLbImDUmKxIi","title":"killEvents(key)","pathname":"/2.11/lua-api-reference/key-inputs/killevents","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Key Inputs"}]},{"id":"TRTik6LQYByHYG3awTeZ","title":"LUA Scripts","pathname":"/2.11/lua-api-reference/lua-scripts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"2OKT1GlH2Hszdcv6NC79","title":"getAvailableMemory()","pathname":"/2.11/lua-api-reference/lua-scripts/getavailablememory","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LUA Scripts"}]},{"id":"jlW5Zy6HrcDQw5tSA4cj","title":"getUsage()","pathname":"/2.11/lua-api-reference/lua-scripts/getusage","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LUA Scripts"}]},{"id":"exXagzW5dwmkaTbKBtaK","title":"loadScript(file [, mode], [,env])","pathname":"/2.11/lua-api-reference/lua-scripts/loadscript","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LUA Scripts"}]},{"id":"Hfh2oGnfPSdsty1vRNmz","title":"Time","pathname":"/2.11/lua-api-reference/time","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"UScEfqw2RxFI6yoSOkRJ","title":"getDateTime()","pathname":"/2.11/lua-api-reference/time/getdatetime","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"iPzz3svvGziDXV1cx8Hg","title":"getGlobalTimer()","pathname":"/2.11/lua-api-reference/time/getglobaltimer","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"Qu0lN3kG4F7DjQC3v3hK","title":"getRtcTime()","pathname":"/2.11/lua-api-reference/time/getrtctime","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"eXFCHIEaIruIWcKIfr6b","title":"getTime()","pathname":"/2.11/lua-api-reference/time/gettime","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"TpaqlUJ13YpuaLxyk2Ou","title":"resetGlobalTimer([type])","pathname":"/2.11/lua-api-reference/time/resetglobaltimer","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"Gftex6c77WS7blOyeLFK","title":"Audio-Sound","pathname":"/2.11/lua-api-reference/audio-sound","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"OmcdK7tUSJRewPCvXorF","title":"playDuration(duration [, hourFormat])","pathname":"/2.11/lua-api-reference/audio-sound/playduration","siteSpaceId":"sitesp_e1M5j","description":"Play a time value (text to speech)","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"iKi903kNDPAfYp4iTJrF","title":"playFile(name)","pathname":"/2.11/lua-api-reference/audio-sound/playfile","siteSpaceId":"sitesp_e1M5j","description":"Play a file from the SD card","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"3rMJwAJLcIJyZHvKDEPU","title":"playHaptic(duration, pause [, flags])","pathname":"/2.11/lua-api-reference/audio-sound/playhaptic","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"v4l2VyoelhCb7lp0TWSR","title":"playNumber(value, unit [, attributes])","pathname":"/2.11/lua-api-reference/audio-sound/playnumber","siteSpaceId":"sitesp_e1M5j","description":"Play a numerical value (text to speech)","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"dMJm1RLWyDF9RJ9yzE5o","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/2.11/lua-api-reference/audio-sound/playtone","siteSpaceId":"sitesp_e1M5j","description":"Play a tone","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"DOUNjnrQ38cWOxPrQ024","title":"flushAudio()","pathname":"/2.11/lua-api-reference/audio-sound/flushaudio","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"uufovZx88s4W6AEVH4xV","title":"Telemetry","pathname":"/2.11/lua-api-reference/telemetry","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"oQ5oJxmUWel0JTvg0BaW","title":"getRSSI()","pathname":"/2.11/lua-api-reference/telemetry/getrssi","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Telemetry"}]},{"id":"nXQFHq2qzmTRDgWuvGH0","title":"RF module","pathname":"/2.11/lua-api-reference/rf-module","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"8z3Kn2W3uMU8rYm3EHCO","title":"accessTelemetryPush()","pathname":"/2.11/lua-api-reference/rf-module/accesstelemetrypush","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"CGge8kWCSQAhjtKOXg4W","title":"crossfireTelemetryPop()","pathname":"/2.11/lua-api-reference/rf-module/crossfiretelemetrypop","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"0WM1k9au8O0q0AzOMPcc","title":"crossfireTelemetryPush()","pathname":"/2.11/lua-api-reference/rf-module/crossfiretelemetrypush","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"oO8RKg0hLzxSTlspkbsZ","title":"ghostTelemetryPop()","pathname":"/2.11/lua-api-reference/rf-module/ghosttelemetrypop","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"qPUoE0n8q6Wz281woq63","title":"ghostTelemetryPush()","pathname":"/2.11/lua-api-reference/rf-module/ghosttelemetrypush","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"LDOtEL4esCxaghHjUBOD","title":"sportTelemetryPop()","pathname":"/2.11/lua-api-reference/rf-module/sporttelemetrypop","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"IaIY3KXXhc7H1NVQjlzY","title":"sportTelemetryPush()","pathname":"/2.11/lua-api-reference/rf-module/sporttelemetrypush","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"z7y2JJGs3WgwNZq6T92b","title":"getRAS()","pathname":"/2.11/lua-api-reference/rf-module/getras","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"vIkdQX4l9g0vx97ziyeC","title":"multiBuffer(address[,value])","pathname":"/2.11/lua-api-reference/rf-module/multibuffer-address-value","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"jNAyQhbrt6K2MTgp63nt","title":"GPS","pathname":"/2.11/lua-api-reference/gps","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"Gka93jiALtCGG4f9R86Z","title":"getTxGPS()","pathname":"/2.11/lua-api-reference/gps/gettxgps","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"GPS"}]},{"id":"ZjDbldHuLgrG9ouprFs7","title":"Variables","pathname":"/2.11/lua-api-reference/variables","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"QoTtYQf90ekQipqH4MBL","title":"getFieldInfo(source)","pathname":"/2.11/lua-api-reference/variables/getfieldinfo","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"mIifWabE9CgJeYJbNErE","title":"getFlightMode(mode)","pathname":"/2.11/lua-api-reference/variables/getflightmode","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"FdYEOYY3JseS6yBuoRQd","title":"getLogicalSwitchValue(id)","pathname":"/2.11/lua-api-reference/variables/getlogicalswitchvalue","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"twkjdNkBtJ0OsqyKteJU","title":"getOutputValue(outputIndex)","pathname":"/2.11/lua-api-reference/variables/getoutputvalue","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"t6o7tNK6yU0GI0Ua98Kj","title":"getShmVar(id)","pathname":"/2.11/lua-api-reference/variables/getshmvar","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"bs5jmRkJTvPSi5ucB53s","title":"getSourceIndex(sourceName)","pathname":"/2.11/lua-api-reference/variables/getsourceindex","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"1GRIy0tiKDOoRDiNoCIU","title":"getSourceName(sourceIndex)","pathname":"/2.11/lua-api-reference/variables/getsourcename","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"TQWBDFxsXvCwcdnoa5Kk","title":"getSourceValue(source)","pathname":"/2.11/lua-api-reference/variables/getsourcevalue","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"OGqS35xxZHxcIH7r2FVR","title":"getSwitchIndex(positionName)","pathname":"/2.11/lua-api-reference/variables/getswitchindex","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"35YhcvwEK758tstiyFU3","title":"getSwitchName(switchIndex)","pathname":"/2.11/lua-api-reference/variables/getswitchname","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"vE7UJgH04qlw5Z8FmR73","title":"getSwitchValue(switchIndex)","pathname":"/2.11/lua-api-reference/variables/getswitchvalue","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"hV5uyGxYQGeFZHPmo8s2","title":"getValue(source)","pathname":"/2.11/lua-api-reference/variables/getvalue","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"9PCgRRLgcDQcCItISlxZ","title":"setShmVar(id, value)","pathname":"/2.11/lua-api-reference/variables/setshmvar","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"tjcDSvtCOtnV9Bzc3BiW","title":"setStickySwitch(id, value)","pathname":"/2.11/lua-api-reference/variables/setstickyswitch","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"LQN1y7YkbLfNuGIAQGEI","title":"sources([first[, last]])","pathname":"/2.11/lua-api-reference/variables/sources","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"RwbmYz0rySupw1rFDwIS","title":"switches([first[, last]])","pathname":"/2.11/lua-api-reference/variables/switches","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"xpn3xAWYcOK4iY8EiLbl","title":"LUA API Programming","pathname":"/2.11/lua-api-programming","siteSpaceId":"sitesp_e1M5j","description":""},{"id":"jZzWNIJ1B2C4Njz3y0D3","title":"Data Exchange with the EdgeTX Model Setup","pathname":"/2.11/lua-api-programming/data-exchange-with-the-edgetx-model-setup","siteSpaceId":"sitesp_e1M5j","description":"An EdgeTX model has several data components that can be exchanged with Lua scripts. This section gives an overview.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"Px79hTRdzxQHTLRLGxCO","title":"Drawing Flags and Colors","pathname":"/2.11/lua-api-programming/drawing-flags-and-colors","siteSpaceId":"sitesp_e1M5j","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"d5iGzD07rdWdsPN2T5cx","title":"Init Function Syntax","pathname":"/2.11/lua-api-programming/init-function-syntax","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"hURFPOEK2jSrvRSJpA7J","title":"Input Table Syntax","pathname":"/2.11/lua-api-programming/input-table-syntax","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"3nFDEjtgjZ9WJdLkK52O","title":"Loading Code Modules Dynamically","pathname":"/2.11/lua-api-programming/loading-code-modules-dynamically","siteSpaceId":"sitesp_e1M5j","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"DOkhJXa6ZATKUMQ41Oyy","title":"Output Table Syntax","pathname":"/2.11/lua-api-programming/output-table-syntax","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"PigWAPJD8JeJy5y3RfyT","title":"Return Statement Syntax","pathname":"/2.11/lua-api-programming/return-statement-syntax","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"Gp7srEgiB4mYbwCMmV0U","title":"Run Function Syntax","pathname":"/2.11/lua-api-programming/run-function-syntax","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"4GYpV6s5AN18T0ksq2eA","title":"Saving Memory","pathname":"/2.11/lua-api-programming/saving-memory","siteSpaceId":"sitesp_e1M5j","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"LpnmpGATkZIJoQdwUwkS","title":"Using Key and Touch Events","pathname":"/2.11/lua-api-programming/using-key-and-touch-events","siteSpaceId":"sitesp_e1M5j","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"r9HMTrxvY0lTOAhiH8QV","title":"Advanced Topics","pathname":"/2.11/lua-api-programming/advanced-topics","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"lUTUlvxpuT9o1fPgYbWP","title":"Debugging techniques","pathname":"/2.11/lua-api-programming/advanced-topics/debugging-techniques","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"},{"label":"Advanced Topics"}]},{"id":"wAMn38YOtvOQKo9dvvaG","title":"Lua data sharing across scripts","pathname":"/2.11/lua-api-programming/advanced-topics/lua-data-sharing-across-scripts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"},{"label":"Advanced Topics"}]},{"id":"PPx3Qr6GirkraQFBe2Tp","title":"Speed/memory optimizaton tricks","pathname":"/2.11/lua-api-programming/advanced-topics/optimization-tricks","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"LUA API Programming"},{"label":"Advanced Topics"}]},{"id":"VXTU4hx1JlJkC2t6hWee","title":"Appendixes","pathname":"/2.11/appendix","siteSpaceId":"sitesp_e1M5j","description":""},{"id":"NGlZeZO9d8zu4Gqnz69K","title":"Fonts","pathname":"/2.11/appendix/fonts","siteSpaceId":"sitesp_e1M5j","description":"","breadcrumbs":[{"label":"Appendixes"}]},{"id":"MIUQcOtXnOdYhvpdBOin","title":"EdgeTX LUA Reference Guide","pathname":"/","siteSpaceId":"sitesp_IUcLZ"},{"id":"LQ8np1w7ZVyV7HkppwDt","title":"Overview","pathname":"/overview","siteSpaceId":"sitesp_IUcLZ","description":"This section covers various topics of LUA implementation in EdgeTX operating system system"},{"id":"mQQ2p51qYDJxR4f1Barj","title":"Lua Basics","pathname":"/overview/lua-basics","siteSpaceId":"sitesp_IUcLZ","description":"Lua is a small but powerful language. This section will explain a few of the most important concepts.","breadcrumbs":[{"label":"Overview"}]},{"id":"dsMZgmqJxmNOaTD97TSB","title":"LUA version and included libraries","pathname":"/overview/version-libraries","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"}]},{"id":"h5cSOFZYXJ1BPNbAUdA6","title":"io Library","pathname":"/overview/version-libraries/io-library","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"LUA version and included libraries"}]},{"id":"QcU8U27WkAXXelsCGCsN","title":"Script Types","pathname":"/overview/script-types","siteSpaceId":"sitesp_IUcLZ","description":"This section introduces the types of Lua scripts supported by EdgeTX and how they may be used.","breadcrumbs":[{"label":"Overview"}]},{"id":"ssMRRmSFUon7XrgxkwKC","title":"One-Time Scripts","pathname":"/overview/script-types/one-time-scripts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"rQACZibZKcmPvjgH2MA7","title":"Telemetry Scripts","pathname":"/overview/script-types/telemetry-scripts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"IAML1N0SpPnTaXSWbBqE","title":"Widget Scripts","pathname":"/overview/script-types/widget-scripts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"2egj9iHwm0HUwoKVOD7m","title":"Function Scripts","pathname":"/overview/script-types/function-scripts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"lU2cT6L8qWK6Jo7pwZTc","title":"Mixes Scripts","pathname":"/overview/script-types/mixes-scripts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Script Types"}]},{"id":"AlQBFNy2NYi5V8Jrq672","title":"Radios","pathname":"/overview/radios","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"}]},{"id":"RQqbccz7Sh1JWlWBmbV1","title":"BetaFPV","pathname":"/overview/radios/betafpv","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"obfELRY5Z8OTD5CsaKHr","title":"FlySky","pathname":"/overview/radios/flysky","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"0XKXfc8wykxMAb5ROTFt","title":"FrSky","pathname":"/overview/radios/frsky","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"rcyWC4VKMrXZR1Sy4GrV","title":"Jumper","pathname":"/overview/radios/jumper","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"h6yyg7VxasuLWdkK1Mxn","title":"Radiomaster","pathname":"/overview/radios/radiomaster","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Radios"}]},{"id":"ZPu4btjr98IoJC0L0E5i","title":"TX16S","pathname":"/overview/radios/radiomaster/tx16s","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Radios"},{"label":"Radiomaster"}]},{"id":"EwncE932KHFZvJ5BXSSc","title":"Internal indexes","pathname":"/overview/internal-indexes","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"}]},{"id":"7kxJXsrJmBzK7Q2jHb08","title":"Source List","pathname":"/overview/internal-indexes/source-list","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Internal indexes"}]},{"id":"MjphVq9udEsgSZtC3NR3","title":"Switch Positions List","pathname":"/overview/internal-indexes/switch-positions-id","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Overview"},{"label":"Internal indexes"}]},{"id":"XDhmFPl4WOYdTlGxDd68","title":"LUA API Reference","pathname":"/lua-api-reference","siteSpaceId":"sitesp_IUcLZ"},{"id":"WB0P5UVffI8vXhghk4E6","title":"Constants","pathname":"/lua-api-reference/constants","siteSpaceId":"sitesp_IUcLZ","description":"This section describes various constants that are provided for Lua by EdgeTX.","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"OCLx59i2N1ZGaEW4kfVZ","title":"Color Constants","pathname":"/lua-api-reference/constants/color-constants","siteSpaceId":"sitesp_IUcLZ","description":"On radios with color display, a color may be added to the flags described above.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"s84A2Qvfgft8zDenMroS","title":"Flags and Pattern Constants","pathname":"/lua-api-reference/constants/flags-and-pattern-constants","siteSpaceId":"sitesp_IUcLZ","description":"Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"CxWA6VdOCO5431v65RdG","title":"Key Event Constants","pathname":"/lua-api-reference/constants/key-event-constants","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"aGUNzFdE8yGlu1Pm3Tjs","title":"Logical Switch Function Constants","pathname":"/lua-api-reference/constants/logical-switch-function-constants","siteSpaceId":"sitesp_IUcLZ","description":"These constants are used with logical switch functions.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"ofk3B5Kw7WZ9s8O0fA9p","title":"Screen Constants","pathname":"/lua-api-reference/constants/screen-constants","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"nUaRCiYIZdbdaUOSNTWZ","title":"Special Character Constants","pathname":"/lua-api-reference/constants/special-character-constants","siteSpaceId":"sitesp_IUcLZ","description":"The radio's special characters can be used with the following text constants.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"vfbqnkZ9CDoPr1Vf0gum","title":"Special Function Constants","pathname":"/lua-api-reference/constants/special-function-constants","siteSpaceId":"sitesp_IUcLZ","description":"These constants determine the type of a Special Function","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"LfMMpob3L2GbXZvQ9Ejj","title":"Touch Event Constants","pathname":"/lua-api-reference/constants/touch-event-constants","siteSpaceId":"sitesp_IUcLZ","description":"In addition to the key events described in the previous section, radios with a color touch screen also provide touch events to the widget scripts.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"BMEdfBVxtEJUB7WqKSOt","title":"Widget Options Constants","pathname":"/lua-api-reference/constants/widget-options","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"q0r0rkgzmTxG5uZm4IYD","title":"Units","pathname":"/lua-api-reference/constants/units","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Constants"}]},{"id":"BoXsgMjYoKUpVvTr3jM9","title":"Display LCD","pathname":"/lua-api-reference/display-lcd","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"cNqpmASLanzoQL3l5hiq","title":"Lcd Functions Overview","pathname":"/lua-api-reference/display-lcd/lcd-functions-overview","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"zHDZ8tZ06cnCLe3fwxPx","title":"lcd.clear","pathname":"/lua-api-reference/display-lcd/clear","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"py5DjngZlx52x9UuiQDB","title":"lcd.drawBitmap","pathname":"/lua-api-reference/display-lcd/drawbitmap","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"FtCcOaSEdIoFRmfueprZ","title":"lcd.drawChannel","pathname":"/lua-api-reference/display-lcd/drawchannel","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"yN0B3DKo25Ib0olXmhuy","title":"lcd.drawCombobox(x, y, w, list, idx [, flags])","pathname":"/lua-api-reference/display-lcd/drawcombobox","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"UD2h9Mt56yzQhJK0gb58","title":"lcd.drawFilledRectangle(x, y, w, h [, flags])","pathname":"/lua-api-reference/display-lcd/drawfilledrectangle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"XWDEf7tdRbo5OSD6PBPN","title":"lcd.drawGauge(x, y, w, h, fill, maxfill [, flags])","pathname":"/lua-api-reference/display-lcd/drawgauge","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"U4Pafa334c0xrzRfwvk5","title":"lcd.drawLine(x1, y1, x2, y2, pattern, flags)","pathname":"/lua-api-reference/display-lcd/drawline","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"slh6DWC1uTZUuzQut0S9","title":"lcd.drawNumber(x, y, value [, flags])","pathname":"/lua-api-reference/display-lcd/drawnumber","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"47nruQJIscc34auKovgb","title":"lcd.drawPixmap","pathname":"/lua-api-reference/display-lcd/drawpixmap","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"9cFX8PMEMeF0iPJJoZIM","title":"lcd.drawPoint(x, y)","pathname":"/lua-api-reference/display-lcd/drawpoint","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"hx5B6dBXCeNLzluP5eYy","title":"lcd.drawRectangle(x, y, w, h [, flags [, t]])","pathname":"/lua-api-reference/display-lcd/drawrectangle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"huSOSuyYQ6uo3wAUXmHs","title":"lcd.drawScreenTitle(title, page, pages)","pathname":"/lua-api-reference/display-lcd/drawscreentitle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"ub9mZkREvRFJIBwfgkB7","title":"lcd.drawSource(x, y, source [, flags])","pathname":"/lua-api-reference/display-lcd/drawsource","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"xhIa6yNy8NNCJ9F3kG6j","title":"lcd.drawSwitch(x, y, switch, flags)","pathname":"/lua-api-reference/display-lcd/drawswitch","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"tvFQ8mYYM1nYwlEVoWhy","title":"lcd.drawText(x, y, text [, flags])","pathname":"/lua-api-reference/display-lcd/drawtext","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"QRi75e7SJcYJcOkgkd8d","title":"lcd.drawTimer(x, y, value [, flags])","pathname":"/lua-api-reference/display-lcd/drawtimer","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"xWqf78mqtTDPwR5kquKg","title":"lcd.drawAnnulus(x, y, r1, r2, start, end [, flags])","pathname":"/lua-api-reference/display-lcd/drawannulus","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Rmb721BA6uWMjfy1s3h8","title":"lcd.drawArc(x, y, r, start, end [, flags])","pathname":"/lua-api-reference/display-lcd/drawarc","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"SQTKKOQjw3y9ilKD84rD","title":"lcd.drawCircle(x, y, r [, flags])","pathname":"/lua-api-reference/display-lcd/drawcircle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"kKCX3fTg6zDbOr4r9Rh9","title":"lcd.drawFilledCircle(x, y, r [, flags])","pathname":"/lua-api-reference/display-lcd/drawfilledcircle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"1LdjrRQVk7Ub2WObIhB3","title":"lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/lua-api-reference/display-lcd/drawfilledtriangle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"MPnlp6cwhJqAiP9NGKWy","title":"lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])","pathname":"/lua-api-reference/display-lcd/drawhudrectangle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"390yV3nHPBZmP6p2sAi8","title":"lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])","pathname":"/lua-api-reference/display-lcd/drawlinewithclipping","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"1lP9QEjZJTk7WRotsX5G","title":"lcd.drawPie(x, y, r, start, end [, flags])","pathname":"/lua-api-reference/display-lcd/drawpie","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"d3niwQHhp3nNNTE1MKYf","title":"lcd.drawTriangle(x1, y1, x2, y2, x3, y3 [, flags])","pathname":"/lua-api-reference/display-lcd/drawtriangle","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"QwU9JWIZYFBjSnJIpBuA","title":"lcd.getColor(area)","pathname":"/lua-api-reference/display-lcd/getcolor","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"A7Hb20GgHDMtKN105mV8","title":"lcd.getLastLeftPos()","pathname":"/lua-api-reference/display-lcd/getlastleftpos","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"gXDCERigQ2HoSJSRnEr2","title":"lcd.getLastPos()","pathname":"/lua-api-reference/display-lcd/getlastpos","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"34oVxhFGOeGHquBDzTd8","title":"lcd.getLastRightPos()","pathname":"/lua-api-reference/display-lcd/getlastrightpos","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"p7l0ZaCJdXJVda1xyGHC","title":"lcd.drawBitmapPattern(bitmap, x, y [, flags])","pathname":"/lua-api-reference/display-lcd/lcd.drawbitmappattern","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"XVNm0pmfcXMWxAShTP5v","title":"lcd.drawBitmapPatternPie(bitmap, x, y, startAngle, endAngle [, flags])","pathname":"/lua-api-reference/display-lcd/lcd.drawbitmappatternpie","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"KJNEEJ8Ib87mYPWSwFAQ","title":"lcd.drawTextLines(x, y, w, h, text [, flags])","pathname":"/lua-api-reference/display-lcd/lcd.drawtextlines","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"pkQ5e4DjuvVNXj7uPbQU","title":"lcd.exitFullScreen()","pathname":"/lua-api-reference/display-lcd/lcd.exitfullscreen","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"ydykiJGQMn9VvRkDssq2","title":"lcd.invertRect(x, y, w, h [, flags])","pathname":"/lua-api-reference/display-lcd/lcd.invertrect","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"mY0UvordszyvFZ2qycZH","title":"lcd.refresh()","pathname":"/lua-api-reference/display-lcd/refresh","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"ov1GkuqUcaavW9ra7fCy","title":"lcd.RGB","pathname":"/lua-api-reference/display-lcd/rgb","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"xeUa3GI8XGDdzfnvZL77","title":"lcd.resetBacklightTimeout()","pathname":"/lua-api-reference/display-lcd/resetbacklighttimeout","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Rf9M3MJMp7Kdl8IaNA3Q","title":"lcd.setColor(area, color)","pathname":"/lua-api-reference/display-lcd/setcolor","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"vSHqAZ3nuKK2oYgC7spZ","title":"lcd.sizeText(text [, flags])","pathname":"/lua-api-reference/display-lcd/sizetext","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"p6vGa7TCYJJd7AFWGswx","title":"popupConfirmation(title, message, event)","pathname":"/lua-api-reference/display-lcd/popupconfirmation","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"3v5gxDBejEfwuY4uMECL","title":"popupInput(title, event, input, min, max)","pathname":"/lua-api-reference/display-lcd/popupinput","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Wy5xDhYRhwJN8YAdNgjw","title":"popupWarning(title, event)","pathname":"/lua-api-reference/display-lcd/popupwarning","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"EXqyX5VmFrnx2sXUXzM9","title":"GREY()","pathname":"/lua-api-reference/display-lcd/grey","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Display LCD"}]},{"id":"Q4fkcvGC4B18b1MB3xXx","title":"LVGL for Lua","pathname":"/lua-api-reference/lvgl-for-lua","siteSpaceId":"sitesp_IUcLZ","description":"The API for adding and using LVGL widgets in Lua scripts.","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"fyQgYAV92RH2NvNZVLQ4","title":"Overview","pathname":"/lua-api-reference/lvgl-for-lua/overview","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"70fPtD46xzUEiWkJQMxq","title":"Examples","pathname":"/lua-api-reference/lvgl-for-lua/examples","siteSpaceId":"sitesp_IUcLZ","description":"Some simple example scripts to set the stage.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"bhtd0JY8WU5LDqcr9nGp","title":"Constants","pathname":"/lua-api-reference/lvgl-for-lua/constants","siteSpaceId":"sitesp_IUcLZ","description":"Constants defined for use in LVGL layouts.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"srkE5qQYUl8kLjhLXlxy","title":"API","pathname":"/lua-api-reference/lvgl-for-lua/api","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"zKtVfyJHTp4pgrvJtvEI","title":"lvgl.align","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.align","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing a text alignment name. When tapped a popup menu is opened to choose a text alignment from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"khb7bdLNw2tO9rbHvS7R","title":"lvgl.arc","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.arc","siteSpaceId":"sitesp_IUcLZ","description":"Display an arc.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"IHyMhp3dRkKNKhLj3HKY","title":"lvgl.box","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.box","siteSpaceId":"sitesp_IUcLZ","description":"Create a container for managing object layout.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"4SLmbfj7TTB7GrjvDCkd","title":"lvgl.build","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.build","siteSpaceId":"sitesp_IUcLZ","description":"Build a complex UI in a single operation.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"oHlq1g0PgEJypIgVFokD","title":"lvgl.button","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.button","siteSpaceId":"sitesp_IUcLZ","description":"Add a text button using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"PJjaewgxplnRKBOC9jvm","title":"lvgl.choice","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.choice","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing an option value. When tapped a popup menu is opened with multiple options to choose from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"7NV3UZNBCPFdeK7rils4","title":"lvgl.file","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.file","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing a filename. When tapped a popup file picker is opened. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"WUvaHkIJJFM9BhXe4oTf","title":"lvgl.circle","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.circle","siteSpaceId":"sitesp_IUcLZ","description":"Display a solid or filled circle.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"z145302o6P1kBGgTCKF0","title":"lvgl.clear","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.clear","siteSpaceId":"sitesp_IUcLZ","description":"Delete LVGL objects.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"9J3xNSScYHf74KRAZKEx","title":"lvgl.color","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.color","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing a color swatch. When tapped the color picker dialog is opened allowing the user to select a new color. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"3J9NlZotHaBeYQuJpQJp","title":"lvgl.confirm","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.confirm","siteSpaceId":"sitesp_IUcLZ","description":"Display a 'Yes' / 'No' confirmation dialog box.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"hLTUZVHzAsJBMMbTLHzY","title":"lvgl.dialog","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.dialog","siteSpaceId":"sitesp_IUcLZ","description":"Display a dialog box.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"WI255EQ4I6PyBtm9EwQ8","title":"lvgl.isAppMode","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.isappmode","siteSpaceId":"sitesp_IUcLZ","description":"Test if widget is running in App Mode.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"GhJpNB3OiPRRZfDyiA6y","title":"lvgl.isFullScreen","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.isfullscreen","siteSpaceId":"sitesp_IUcLZ","description":"Test if widget is running in full screen mode.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"Mmhk6KwEfEtlTmloUkPW","title":"lvgl.exitFullScreen","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.exitfullscreen","siteSpaceId":"sitesp_IUcLZ","description":"If widget is running in full screen mode, then return to normal mode.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"smm3UnjScgqT4FdZRQG2","title":"lvgl.font","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.font","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing a font name. When tapped a popup menu is opened to choose a font from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"lqjkw2MhflMLURlDAzHn","title":"lvgl.getContext","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.getcontext","siteSpaceId":"sitesp_IUcLZ","description":"For a widget, returns the local instance table created (and returned from) the script 'create()' function.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"n526a10aEu9cWstmtu4V","title":"lvgl.getScrollPos","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.getscrollpos","siteSpaceId":"sitesp_IUcLZ","description":"Get the current scroll position (X, Y) of a container object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"EhUNspDJW2GIlNWT3qV2","title":"lvgl.hide","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.hide","siteSpaceId":"sitesp_IUcLZ","description":"Hide an LVGL object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"NVsoxCmU7ceCXgke1mVq","title":"lvgl.hline","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.hline","siteSpaceId":"sitesp_IUcLZ","description":"Display a horizontal line.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"6npWpJ7Ymd5ysf0TxPFh","title":"lvgl.image","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.image","siteSpaceId":"sitesp_IUcLZ","description":"Display an image. The image will be centered in the frame (x, y, w, h). Images can be scaled to either fit entirely within the frame or completely fill the frame.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"ddFsORybYkNO0aqHCQCa","title":"lvgl.label","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.label","siteSpaceId":"sitesp_IUcLZ","description":"Display a text label.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"SC3fsK6DZdZ9iZhxpFFo","title":"lvgl.line","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.line","siteSpaceId":"sitesp_IUcLZ","description":"Display one or more connected lines.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"b7LJI4AVTDXTGFcfsByI","title":"lvgl.menu","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.menu","siteSpaceId":"sitesp_IUcLZ","description":"Opens a popup menu with multiple options to choose from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"BTSmFaooNTjmyrt9itxS","title":"lvgl.message","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.message","siteSpaceId":"sitesp_IUcLZ","description":"Display a message dialog box.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"Hf76CAd3ZseDTetsRnQZ","title":"lvgl.momentaryButton","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.momentarybutton","siteSpaceId":"sitesp_IUcLZ","description":"Add a momentary text button using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"bom0sqUfFyUhDTdxkaB3","title":"lvgl.numberEdit","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.numberedit","siteSpaceId":"sitesp_IUcLZ","description":"Add a number edit box using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"bT4UHuoVbsfkQOPB332S","title":"lvgl.page","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.page","siteSpaceId":"sitesp_IUcLZ","description":"Create a page layout for a One-Time script using EdgeTX styling. The page layout has a menu bar at the top with title and sub-title lines as well as a 'back' button in the top left corner.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"4kbPmrnXEp47rQmNsi24","title":"lvgl.qrcode","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.qrcode","siteSpaceId":"sitesp_IUcLZ","description":"Display a QR code.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"TpMOb0Aui7ZrF6TwYcbc","title":"lvgl.rectangle","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.rectangle","siteSpaceId":"sitesp_IUcLZ","description":"Display a text label.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"YzHBLstV2NGZve7AIyHI","title":"lvgl.set","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.set","siteSpaceId":"sitesp_IUcLZ","description":"Update the settings for an LVGL object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"CcjS3Tz8OB26mjUEtXxd","title":"lvgl.setting","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.setting","siteSpaceId":"sitesp_IUcLZ","description":"Create a container for managing object layout.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"nChhE00NBWQqwIMxhWqa","title":"lvgl.show","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.show","siteSpaceId":"sitesp_IUcLZ","description":"Show an LVGL object.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"KyhslJI2Ir0dyEtX84IC","title":"lvgl.slider","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.slider","siteSpaceId":"sitesp_IUcLZ","description":"Add a slider using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"yHTTY21BHF1QBWCTK4eY","title":"lvgl.verticalSlider","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.verticalslider","siteSpaceId":"sitesp_IUcLZ","description":"Add a slider using the EdgeTX style with vertical orientation .","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"1rjE688AJN5dB1partSf","title":"lvgl.source","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.source","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing a source name. When tapped the switch select popup is opened to allow the user to select a new source. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"DO3iLTn1AwxCCPMBgKmL","title":"lvgl.switch","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.switch","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing a switch name. When tapped the switch select popup is opened to allow the user to select a new switch. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"Mzdy2XYHfVu80vaqXp0Z","title":"lvgl.textEdit","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.textedit","siteSpaceId":"sitesp_IUcLZ","description":"Add a text edit box using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"OP8oyuYkcauXQGysS6Z4","title":"lvgl.timer","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.timer","siteSpaceId":"sitesp_IUcLZ","description":"Display a button showing a timer name. When tapped a popup menu is opened to choose a timer from. Uses EdgeTX styling.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"QVX7jJeudWpjYfkyZ7iT","title":"lvgl.toggle","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.toggle","siteSpaceId":"sitesp_IUcLZ","description":"Add a toggle switch using the EdgeTX style.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"7QYoSinp9HUdFKVRrRC3","title":"lvgl.triangle","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.triangle","siteSpaceId":"sitesp_IUcLZ","description":"Display a filled triangle.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"g63f56Tm2W4MaosU0hLv","title":"lvgl.vline","pathname":"/lua-api-reference/lvgl-for-lua/lvgl.vline","siteSpaceId":"sitesp_IUcLZ","description":"Display a vertical line.","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LVGL for Lua"}]},{"id":"UjCdQCHbasvtv4WUC6L0","title":"Model Functions","pathname":"/lua-api-reference/model","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"dpb55rir48WTzQ9IRZH5","title":"model.defaultInputs","pathname":"/lua-api-reference/model/defaultinputs","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"qpFzXThuQb9LSKI4ntYA","title":"model.deleteFlightModes","pathname":"/lua-api-reference/model/deleteflightmodes","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"C2N4lHQE4fbywr5lswbl","title":"model.deleteInput","pathname":"/lua-api-reference/model/deleteinput","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"Bp6Uh3T0Td4nHdfT4nV1","title":"model.deleteInputs","pathname":"/lua-api-reference/model/deleteinputs","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"BsbRAIS4xJ1RDzAUxDPk","title":"model.deleteMix","pathname":"/lua-api-reference/model/deletemix","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"TVEKJ4b0KRGsnr3oqD8l","title":"model.deleteMixes","pathname":"/lua-api-reference/model/deletemixes","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"f2Bf0DNloLYXAh6DwEMe","title":"model.getCurve","pathname":"/lua-api-reference/model/getcurve","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"94C9KU4Ar7XOwYfxZqAT","title":"model.getCustomFunction(function)","pathname":"/lua-api-reference/model/getcustomfunction","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"xI9b0SyGgGpPZfHBJYRp","title":"model.getFlightMode(index)","pathname":"/lua-api-reference/model/getflightmode","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"ohTOsS5W8zgMfXrjzYcy","title":"model.getGlobalVariable(index, flight_mode)","pathname":"/lua-api-reference/model/getglobalvariable","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"6u58pAiVzfnQs5QYpmuZ","title":"model.getInfo","pathname":"/lua-api-reference/model/getinfo","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"D4Pi4abyu3vFJF9wsFtO","title":"model.getInput(input, line)","pathname":"/lua-api-reference/model/getinput","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"NdutzOrGKOt50N1GVJVv","title":"model.getInputsCount(input)","pathname":"/lua-api-reference/model/getinputscount","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"N9v3pZhegDBzSU7Xdzsg","title":"model.getLogicalSwitch(switch)","pathname":"/lua-api-reference/model/getlogicalswitch","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"lxMcl6h1C2EueR2dK5bP","title":"model.getMix(channel, line)","pathname":"/lua-api-reference/model/getmix","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"tDt5qFBNBQRtaZQR6bKe","title":"model.getMixesCount(channel)","pathname":"/lua-api-reference/model/getmixescount","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"1qKEsPdJsyNHkq5sJyIV","title":"model.getModule(index)","pathname":"/lua-api-reference/model/getmodule","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"v1YE2bNbQ4gGHJhQChgz","title":"model.getOutput(index)","pathname":"/lua-api-reference/model/getoutput","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"3frhJ3S9gjSWKh9qmlxM","title":"model.getSensor(sensor)","pathname":"/lua-api-reference/model/getsensor","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"aWba9RYSvbfnCOFB6zVg","title":"model.getTimer(timer)","pathname":"/lua-api-reference/model/gettimer","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"BapwH18VjikCxuTfteEs","title":"model.insertInput(input, line, value)","pathname":"/lua-api-reference/model/insertinput","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"dn8lDKsuZNOMsWhVgQLp","title":"model.insertMix(channel, line, value)","pathname":"/lua-api-reference/model/insertmix","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"t1Nk53nF0w7zNbcKwcpJ","title":"model.getSwashRing()","pathname":"/lua-api-reference/model/model.getswashring","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"C6arxFMybRXEs0mTkbpb","title":"model.setSwashRing(params)","pathname":"/lua-api-reference/model/model.setswashring-params","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"wB0j2iR3n5ocxnlxrE4e","title":"model.resetSensor(sensor)","pathname":"/lua-api-reference/model/resetsensor","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"6PeP2RAp70jeFYf7zIJ0","title":"model.resetTimer(timer)","pathname":"/lua-api-reference/model/resettimer","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"iMfTB3dQoMGjw0eWxgaP","title":"model.setCurve(curve, params)","pathname":"/lua-api-reference/model/setcurve","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"GxOBTcrb0eECMe7MKAGZ","title":"model.setCustomFunction(function, value)","pathname":"/lua-api-reference/model/setcustomfunction","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"GiCQloNRq2LVGivCGsrx","title":"model.setFlightMode(index, params)","pathname":"/lua-api-reference/model/setflightmode","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"GQwUDBdeFKOzsMD58NRA","title":"model.setGlobalVariable(index, flight_mode, value)","pathname":"/lua-api-reference/model/setglobalvariable","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"VNKbvJBnRAVjGfa0uHx9","title":"model.setInfo(value)","pathname":"/lua-api-reference/model/setinfo","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"gvwKT9STMFVsXpmDi2Mx","title":"model.setLogicalSwitch(switch, value)","pathname":"/lua-api-reference/model/setlogicalswitch","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"LgE49pFgP3Smxc21PsR8","title":"model.setModule(index, value)","pathname":"/lua-api-reference/model/setmodule","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"tt0YC8L88skQWOCKYQ7J","title":"model.setOutput(index, value)","pathname":"/lua-api-reference/model/setoutput","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"FPd4FIAgIRSTxQQoE0ki","title":"model.setTimer(timer, value)","pathname":"/lua-api-reference/model/settimer","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Model Functions"}]},{"id":"sV4boCIWo6tCYsWAjc6m","title":"Bitmap Functions","pathname":"/lua-api-reference/bitmap","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"iRllFwnLLEBD2XhqPjVQ","title":"Bitmap.resize(bitmap, width, height)","pathname":"/lua-api-reference/bitmap/bitmap.resize","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"dT5bq2Kc9MO3JRpY3uun","title":"Bitmap.toMask(bitmap)","pathname":"/lua-api-reference/bitmap/bitmap.tomask","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"2XYgDqqXXcSd5Nr0WWJ3","title":"Bitmap.getSize(name)","pathname":"/lua-api-reference/bitmap/getsize","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"VUiCqqOAolWeKtXMD47C","title":"Bitmap.open(name)","pathname":"/lua-api-reference/bitmap/open","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Bitmap Functions"}]},{"id":"Jgf0GGhLOxEGSFu9JP1m","title":"Filesystem","pathname":"/lua-api-reference/filesystem","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"6f52YUreFqIt9RpzONrO","title":"chdir(directory)","pathname":"/lua-api-reference/filesystem/chdir","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"yjuouTc0HgeR9olVW85D","title":"del(file or directory)","pathname":"/lua-api-reference/filesystem/del","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"kIZQkv0MCsrRQmdgHpuh","title":"dir(directory)","pathname":"/lua-api-reference/filesystem/dir","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"cyul5hXqGHn3hqKeZt1r","title":"fstat(path)","pathname":"/lua-api-reference/filesystem/fstat","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Filesystem"}]},{"id":"cR5rrKvVEnBBzm8P9m9s","title":"Serial Ports","pathname":"/lua-api-reference/serial-ports","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"CvedSIJ0SWtrWH6l90KR","title":"serialGetPower(port_nr)","pathname":"/lua-api-reference/serial-ports/serialgetpower","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"N3frHsiAMKdGKKOpGo5S","title":"serialRead([num])","pathname":"/lua-api-reference/serial-ports/serialread","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"V4cIVcSvKUiv4yuvktCW","title":"serialSetPower(port_nr, value)","pathname":"/lua-api-reference/serial-ports/serialsetpower","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"iqvJL9UU0619n8OMxZXH","title":"serialWrite(str)","pathname":"/lua-api-reference/serial-ports/serialwrite","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"MEGl7X9Iqj1tG0QAwPmR","title":"setSerialBaudrate(baudrate)","pathname":"/lua-api-reference/serial-ports/setserialbaudrate","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Serial Ports"}]},{"id":"FnqUOQ2rExFedh3WsJGn","title":"System","pathname":"/lua-api-reference/system","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"IZ6Bjbo7VHaUsII3YjvV","title":"defaultChannel(stick)","pathname":"/lua-api-reference/system/defaultchannel","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"a9ToxpvmTjAIcuhFWV0t","title":"defaultStick(channel)","pathname":"/lua-api-reference/system/defaultstick","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"tLoORWU748cTORNcA9Yw","title":"getGeneralSettings()","pathname":"/lua-api-reference/system/getgeneralsettings","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"Lt8fOT7qKrXePuu030up","title":"getVersion()","pathname":"/lua-api-reference/system/getversion","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"zDTyLaYCg7hlNl4zmHh4","title":"screenshot()","pathname":"/lua-api-reference/system/rgb","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"System"}]},{"id":"m4RkaKwxx493IGjynKHs","title":"Key Inputs","pathname":"/lua-api-reference/key-inputs","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"CTvTk0klyZy7gqpOZ5TW","title":"getRotEncMode()","pathname":"/lua-api-reference/key-inputs/getrotencmode","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Key Inputs"}]},{"id":"lelFhYnlkoSLYvN0J1ii","title":"getRotEncSpeed()","pathname":"/lua-api-reference/key-inputs/getrotencspeed","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Key Inputs"}]},{"id":"0Y0ZzAgdiLbImDUmKxIi","title":"killEvents(key)","pathname":"/lua-api-reference/key-inputs/killevents","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Key Inputs"}]},{"id":"TRTik6LQYByHYG3awTeZ","title":"LUA Scripts","pathname":"/lua-api-reference/lua-scripts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"2OKT1GlH2Hszdcv6NC79","title":"getAvailableMemory()","pathname":"/lua-api-reference/lua-scripts/getavailablememory","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LUA Scripts"}]},{"id":"jlW5Zy6HrcDQw5tSA4cj","title":"getUsage()","pathname":"/lua-api-reference/lua-scripts/getusage","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LUA Scripts"}]},{"id":"exXagzW5dwmkaTbKBtaK","title":"loadScript(file [, mode], [,env])","pathname":"/lua-api-reference/lua-scripts/loadscript","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"LUA Scripts"}]},{"id":"Hfh2oGnfPSdsty1vRNmz","title":"Time","pathname":"/lua-api-reference/time","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"UScEfqw2RxFI6yoSOkRJ","title":"getDateTime()","pathname":"/lua-api-reference/time/getdatetime","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"iPzz3svvGziDXV1cx8Hg","title":"getGlobalTimer()","pathname":"/lua-api-reference/time/getglobaltimer","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"Qu0lN3kG4F7DjQC3v3hK","title":"getRtcTime()","pathname":"/lua-api-reference/time/getrtctime","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"eXFCHIEaIruIWcKIfr6b","title":"getTime()","pathname":"/lua-api-reference/time/gettime","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"TpaqlUJ13YpuaLxyk2Ou","title":"resetGlobalTimer([type])","pathname":"/lua-api-reference/time/resetglobaltimer","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Time"}]},{"id":"Gftex6c77WS7blOyeLFK","title":"Audio-Sound","pathname":"/lua-api-reference/audio-sound","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"OmcdK7tUSJRewPCvXorF","title":"playDuration(duration [, hourFormat])","pathname":"/lua-api-reference/audio-sound/playduration","siteSpaceId":"sitesp_IUcLZ","description":"Play a time value (text to speech)","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"iKi903kNDPAfYp4iTJrF","title":"playFile(name)","pathname":"/lua-api-reference/audio-sound/playfile","siteSpaceId":"sitesp_IUcLZ","description":"Play a file from the SD card","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"3rMJwAJLcIJyZHvKDEPU","title":"playHaptic(duration, pause [, flags])","pathname":"/lua-api-reference/audio-sound/playhaptic","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"v4l2VyoelhCb7lp0TWSR","title":"playNumber(value, unit [, attributes])","pathname":"/lua-api-reference/audio-sound/playnumber","siteSpaceId":"sitesp_IUcLZ","description":"Play a numerical value (text to speech)","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"dMJm1RLWyDF9RJ9yzE5o","title":"playTone(frequency, duration, pause [, flags [, freqIncr]])","pathname":"/lua-api-reference/audio-sound/playtone","siteSpaceId":"sitesp_IUcLZ","description":"Play a tone","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"DOUNjnrQ38cWOxPrQ024","title":"flushAudio()","pathname":"/lua-api-reference/audio-sound/flushaudio","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Audio-Sound"}]},{"id":"uufovZx88s4W6AEVH4xV","title":"Telemetry","pathname":"/lua-api-reference/telemetry","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"oQ5oJxmUWel0JTvg0BaW","title":"getRSSI()","pathname":"/lua-api-reference/telemetry/getrssi","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Telemetry"}]},{"id":"nXQFHq2qzmTRDgWuvGH0","title":"RF module","pathname":"/lua-api-reference/rf-module","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"8z3Kn2W3uMU8rYm3EHCO","title":"accessTelemetryPush()","pathname":"/lua-api-reference/rf-module/accesstelemetrypush","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"CGge8kWCSQAhjtKOXg4W","title":"crossfireTelemetryPop()","pathname":"/lua-api-reference/rf-module/crossfiretelemetrypop","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"0WM1k9au8O0q0AzOMPcc","title":"crossfireTelemetryPush()","pathname":"/lua-api-reference/rf-module/crossfiretelemetrypush","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"oO8RKg0hLzxSTlspkbsZ","title":"ghostTelemetryPop()","pathname":"/lua-api-reference/rf-module/ghosttelemetrypop","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"qPUoE0n8q6Wz281woq63","title":"ghostTelemetryPush()","pathname":"/lua-api-reference/rf-module/ghosttelemetrypush","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"LDOtEL4esCxaghHjUBOD","title":"sportTelemetryPop()","pathname":"/lua-api-reference/rf-module/sporttelemetrypop","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"IaIY3KXXhc7H1NVQjlzY","title":"sportTelemetryPush()","pathname":"/lua-api-reference/rf-module/sporttelemetrypush","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"z7y2JJGs3WgwNZq6T92b","title":"getRAS()","pathname":"/lua-api-reference/rf-module/getras","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"vIkdQX4l9g0vx97ziyeC","title":"multiBuffer(address[,value])","pathname":"/lua-api-reference/rf-module/multibuffer-address-value","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"RF module"}]},{"id":"jNAyQhbrt6K2MTgp63nt","title":"GPS","pathname":"/lua-api-reference/gps","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"Gka93jiALtCGG4f9R86Z","title":"getTxGPS()","pathname":"/lua-api-reference/gps/gettxgps","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"GPS"}]},{"id":"ZjDbldHuLgrG9ouprFs7","title":"Variables","pathname":"/lua-api-reference/variables","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"}]},{"id":"QoTtYQf90ekQipqH4MBL","title":"getFieldInfo(source)","pathname":"/lua-api-reference/variables/getfieldinfo","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"mIifWabE9CgJeYJbNErE","title":"getFlightMode(mode)","pathname":"/lua-api-reference/variables/getflightmode","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"FdYEOYY3JseS6yBuoRQd","title":"getLogicalSwitchValue(id)","pathname":"/lua-api-reference/variables/getlogicalswitchvalue","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"twkjdNkBtJ0OsqyKteJU","title":"getOutputValue(outputIndex)","pathname":"/lua-api-reference/variables/getoutputvalue","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"t6o7tNK6yU0GI0Ua98Kj","title":"getShmVar(id)","pathname":"/lua-api-reference/variables/getshmvar","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"bs5jmRkJTvPSi5ucB53s","title":"getSourceIndex(sourceName)","pathname":"/lua-api-reference/variables/getsourceindex","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"1GRIy0tiKDOoRDiNoCIU","title":"getSourceName(sourceIndex)","pathname":"/lua-api-reference/variables/getsourcename","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"TQWBDFxsXvCwcdnoa5Kk","title":"getSourceValue(source)","pathname":"/lua-api-reference/variables/getsourcevalue","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"OGqS35xxZHxcIH7r2FVR","title":"getSwitchIndex(positionName)","pathname":"/lua-api-reference/variables/getswitchindex","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"35YhcvwEK758tstiyFU3","title":"getSwitchName(switchIndex)","pathname":"/lua-api-reference/variables/getswitchname","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"vE7UJgH04qlw5Z8FmR73","title":"getSwitchValue(switchIndex)","pathname":"/lua-api-reference/variables/getswitchvalue","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"hV5uyGxYQGeFZHPmo8s2","title":"getValue(source)","pathname":"/lua-api-reference/variables/getvalue","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"9PCgRRLgcDQcCItISlxZ","title":"setShmVar(id, value)","pathname":"/lua-api-reference/variables/setshmvar","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"tjcDSvtCOtnV9Bzc3BiW","title":"setStickySwitch(id, value)","pathname":"/lua-api-reference/variables/setstickyswitch","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"LQN1y7YkbLfNuGIAQGEI","title":"sources([first[, last]])","pathname":"/lua-api-reference/variables/sources","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"RwbmYz0rySupw1rFDwIS","title":"switches([first[, last]])","pathname":"/lua-api-reference/variables/switches","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Reference"},{"label":"Variables"}]},{"id":"xpn3xAWYcOK4iY8EiLbl","title":"LUA API Programming","pathname":"/lua-api-programming","siteSpaceId":"sitesp_IUcLZ"},{"id":"jZzWNIJ1B2C4Njz3y0D3","title":"Data Exchange with the EdgeTX Model Setup","pathname":"/lua-api-programming/data-exchange-with-the-edgetx-model-setup","siteSpaceId":"sitesp_IUcLZ","description":"An EdgeTX model has several data components that can be exchanged with Lua scripts. This section gives an overview.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"Px79hTRdzxQHTLRLGxCO","title":"Drawing Flags and Colors","pathname":"/lua-api-programming/drawing-flags-and-colors","siteSpaceId":"sitesp_IUcLZ","description":"This section will give some technical details for radios with a color screen.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"d5iGzD07rdWdsPN2T5cx","title":"Init Function Syntax","pathname":"/lua-api-programming/init-function-syntax","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"hURFPOEK2jSrvRSJpA7J","title":"Input Table Syntax","pathname":"/lua-api-programming/input-table-syntax","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"3nFDEjtgjZ9WJdLkK52O","title":"Loading Code Modules Dynamically","pathname":"/lua-api-programming/loading-code-modules-dynamically","siteSpaceId":"sitesp_IUcLZ","description":"Lua makes it easy to load and unload code modules on the fly, to save memory or to provide program extensions.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"DOkhJXa6ZATKUMQ41Oyy","title":"Output Table Syntax","pathname":"/lua-api-programming/output-table-syntax","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"PigWAPJD8JeJy5y3RfyT","title":"Return Statement Syntax","pathname":"/lua-api-programming/return-statement-syntax","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"Gp7srEgiB4mYbwCMmV0U","title":"Run Function Syntax","pathname":"/lua-api-programming/run-function-syntax","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"4GYpV6s5AN18T0ksq2eA","title":"Saving Memory","pathname":"/lua-api-programming/saving-memory","siteSpaceId":"sitesp_IUcLZ","description":"This chapter will show you some ways that large script projects can be fitted into the limited memory of our radios.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"LpnmpGATkZIJoQdwUwkS","title":"Using Key and Touch Events","pathname":"/lua-api-programming/using-key-and-touch-events","siteSpaceId":"sitesp_IUcLZ","description":"This section will discuss how interactive scripts receiving user inputs via key and touch events can be created.","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"r9HMTrxvY0lTOAhiH8QV","title":"Advanced Topics","pathname":"/lua-api-programming/advanced-topics","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"}]},{"id":"lUTUlvxpuT9o1fPgYbWP","title":"Debugging techniques","pathname":"/lua-api-programming/advanced-topics/debugging-techniques","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"},{"label":"Advanced Topics"}]},{"id":"wAMn38YOtvOQKo9dvvaG","title":"Lua data sharing across scripts","pathname":"/lua-api-programming/advanced-topics/lua-data-sharing-across-scripts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"},{"label":"Advanced Topics"}]},{"id":"PPx3Qr6GirkraQFBe2Tp","title":"Speed/memory optimizaton tricks","pathname":"/lua-api-programming/advanced-topics/optimization-tricks","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"LUA API Programming"},{"label":"Advanced Topics"}]},{"id":"VXTU4hx1JlJkC2t6hWee","title":"Appendixes","pathname":"/appendix","siteSpaceId":"sitesp_IUcLZ"},{"id":"NGlZeZO9d8zu4Gqnz69K","title":"Fonts","pathname":"/appendix/fonts","siteSpaceId":"sitesp_IUcLZ","breadcrumbs":[{"label":"Appendixes"}]}]}