Download the farl.lua script above and drag it to your radio. You should place this into your /SCRIPTS/TELEMETRY folder.
How to install:
Bootloader Method
Power off your transmitter and power it back on in boot loader mode.
Connect a USB cable and open the SD card drive on your computer.
Download and copy the the scripts to appropriate location on your SD card. NOTE: If the folders do not exist, create them.
Unplug the USB cable and power cycle your transmitter.
Manual method (varies, based on the model of your transmitter)
Power off your transmitter.
Remove the SD card and plug it into a computer
Download and copy the the scripts to appropriate location on your SD card. NOTE: If the folders do not exist, create them.
Reinsert your SD card into the transmitter
Power up your transmitter.
If you copied the files correctly, you can now go into the telemetry screen setup page and set up the script as telemetry page.
Adding the script as a telemetry page
Setting up the script as a telemetry page will enable access at the press of a button. These instructions are for the XLite. The Q7 will also work but the instructions will be a bit different.
Hold the circular eraser D-Pad on the right side of the controller to the right until the Model Selection Menu Comes up
Press the eraser to the left briefly to rotate to page 13/13 (top right)
Press the eraser to the bottom position to select the first screen (which should say none)
Press down on the eraser so the "None" is flashing
Press right on the eraser repeatedly until it goes to "Script", then press down on the eraser to confirm.
Press right on the eraser to select which script, then press down on the eraser should bring up a menu, and "farl" should be in there, select it and press down on the eraser.
Press the bottom button to back out to the main menu.
From now on, while on the main menu with this model, simply move the eraser to the bottom position for about 2 seconds and it will activate your first telemetry screen!
Script Editing / Modification Notes
Since not everyone uses the same controller configuration as myself, here's some tips to edit the script for your uses...
To change which button arms the dashboard... please change the value of 'sa' to a different input here
To change to a two-stage arming mechanism, change the above option to a "logical" switch. Eg: armed = getValue('ls2'). See: Issue #2
To invert the arming switch to be backwards from how it is (eg: if you are armed when this dashboard says it is disarmed) please modify the code here. Typically you'd just invert all the < and >'s in those two lines related to armed.
To change which button sets your mode, please modify this line to a different input.
To change the name of each mode on the mode switch, please modify these lines
To setup your handset to do a timer this is a standard OpenTX feature. You can google how to do this, or see this bug report for more info.
For more information on how to program in Lua specifically for OpenTX, please See Here
Support, etc
Please feel free to submit issues, feedback, etc. to the gitlab page, or email me! :) Any time you guys do, I will try to update this README to include more information for future users.
请发表评论