| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
!! IMPORTANT: DON'T COPY THE CONTENTS OF THIS REPOSITORY ONTO YOUR SDCARD !!
Download a zip file containing the latest version from the releases page.
Unzip the files from the link above and drag the contents of the obj folder to your radios SD card. If you do this correctly, the SCRIPTS directory will merge with your existing directories, placing the scripts in their appropriate paths. You will know if you did this correctly if the bf.lua file shows up in your /SCRIPTS/TOOLS directory.
Navigate to the TOOLS menu in OpenTX, select "Betaflight setup" or "Betaflight CMS" and press the [ENTER] button. The first time the script is launched after a clean install or upgrade it will go through it's compile procedure and exit back to the TOOLS menu when it's done.
The "Betaflight setup" script lets you configure Betaflight through the MSP protocol.
On a colour radio running EdgeTX 2.11.7 / 2.12.1 or newer the script uses the radio's own LVGL widgets — dropdowns, toggles and number editors in a standard EdgeTX page, with page navigation in the header. Everything else is the same script: the same settings, the same pages, the same protocol. Colour radios on other firmware versions, and every monochrome radio, keep the layout they have always had.
Monochrome radios, and colour radios on other EdgeTX versions:
Colour radios on EdgeTX 2.11.7 / 2.12.1 or newer:
There is no function menu on a colour radio. "Save page" is the last row of every settings page, and the actions that concern the flight controller rather than the page you are on — reboot, accelerometer calibration, and the VTX table and board info downloads — are listed on the main menu under "Flight Controller".
Any changes to parameters in the script will not take effect until a save is manually initiated. Change the parameters you want to change, then send them back to the flight controller:
Leaving a page without saving discards the changes on it.
If you are using a VTX that supports the SmartAudio or Tramp protocols then bands and channels etc. are managed using VTX tables since Betaflight version 4.1.0. The script will be downloading and storing the current VTX table for every model the first time the model is connected and the script is run. If you change the VTX table, you have to re-load the updated VTX table in the script: on a colour radio running EdgeTX 2.11.7 / 2.12.1 or newer, select "Download VTX Tables" under "Flight Controller" on the main menu; on monochrome radios and other firmware versions, choose the 'vtx tables' option in the function menu.
Depending on the size of the vtx tables and the telemetry protocol used, downloading the vtx tables can take a while.
Please note that if the "VTX" feature wasn't included in your Betaflight firmware build, the downloading of the VTX tables will be skipped and the VTX menu item won't be available. The initial setup of the VTX/VTX tables must be done using the Configurator.
!! IMPORTANT: TBS Crossfire/Tracer only !!
"Betaflight CMS" lets you access the same CMS menu that is available in the OSD.
The optional background script offers RTC synchronization and RSSI through MSP. RSSI will only be sent if no other RSSI source is detected. It can be setup as a special or global function in OpenTX. The image below shows how to run the background script as a special function.
Unstable testing versions of the latest builds of the Lua Script can be downloaded from here.
Be aware that these versions are intended for testing / feedback only, and may be buggy or broken. Caution is advised when using these versions.
| Back | FazBrowse Home | New Git URL |