-- Telemetry script: virtual-X-postition-switch for telemetry announcment and display -- ################################################################################### -- -- version 4 15.04.2022 -- by ChrisOHara -- OpenTX version 2.3.11 -- for Taranis tested on x9-lite S -- for Horus (but only tested in companion, may run on similar radios as well) -- This Software is free -- -- This software works as a kind of virtual X-position-Switch used to display and announce telemetry values -- -- In the script there is a block with a list of prioritized telemetry values -- see start of "init function" (you can alter the list as you like) -- The scripts looks which of these values are available for your active model. -- The script displays: -- the name of the selected value, -- the number of the value (referring to your list in the script), -- the value of the selected value; -- the unit of the selected value; -- Triggering logical switch L64 ON -- the script announces the value and unit -- Triggering logical switch L62 ON -- the script shifts to the next telemetry value -- Trigering logical switch L63 ON -- the script shifts to back to the next telemetry value -- Announcement and shifting also works as background function without display. -- You can define the maximum number of values that can be displayed by altering "my_posMax" (default 20) -- Logical switch examples: L62 EDGE SFv [0.0:0.3] 0=duration 0=delay -- L63 EDGE SFv [0.3:<<] 0=duration 0=delay -- L64 OR SGv SGv -- -- no garantee, usage at own risk -- -- New in version 4: -- bug solved; Announcment of large values now works -- --########################################################################################################