scripts in basic language for control using Tx with ersky9x firmware
How to install:
- Power off your transmitter.
- Remove the SD card and plug it into a computer
- Copy the scripts(only the files with extension .bas) to the /SCRIPTS folder on the SD card.If the folder does not exist you have to generate it. See Note: below for more details
- Reinsert your SD card into the transmitter
- Power up your transmitter.
- Note:
/SCRIPTS – put standalone scripts here.
/SCRIPTS/TELEMETRY – put scripts that display on the custom telemetry screens here.
/SCRIPTS/MODEL – put “background” scripts here.
- Press Menu button long.
- Scroll down on the pop up menu and select "Run Script"
- Scroll down on the script page to the script you want to run.
- Run the script by pressing Menu button long.
- Change Betaflight PID/Rates/VTX.Tested with 9xpro with last ersky9X firmware and multi STM32 module with custom firmware for sport bidirectional communication.
- Configuration of a DIY RX or a JUMPER R8 with new fimrmware.
- Button MENU short press, change pages PID/Rates pages.
- Button UP and DOWN move between fields/lines to select value for editing.
- Button RIGHT allow editing the page values the selected value will blink so you know you are on this mode.In this mode press button UP and DOWN increase /decrease values.Button EXIT short press close edititing mode blink will stop.
- Button MENU long press enters in new menu(saving) with 2 options save page and reload. Select one of the options by pressing UP and DOWN button.Press RIGHT button to run the selected mode. save page as the name implied send commands for saving the new page values to betaflight and reload commands for retrieving the values from betaflight.
- Button EXIT long press terminate the script running and you exit on general script screen.
- Button LEFT press is taking you on new screen used only for debugging.This is to be used only by advanced users that know how to modify the script source and configure the debugging test screen for their needs.
Added new script DIY_RX_CFG.bas for configuration of a DIY (JUMPER R8) frSky compatible receiver. For more details about that see:
https://www.rcgroups.com/forums/showthread.php?3420847-DIY-FrSky-X%28D16%29-receiver https://www.rcgroups.com/forums/showthread.php?3504875-Jumper-R8-Receiver-8-channel-PPM-16-channel-SBUS-D16-LBT-D8-compatible-firmware
The configuration modes are: Page 1: RX-MODES
- receiver mode to X(D16)protocol channels 1-8 output PWM.
- receiver mode to X(D16)protocol channels 1-8 output PWM with no telemetry.
- receiver mode to X(D16)protocol channels 9-16 output PWM.
- receiver mode to X(D16)protocol channels 9-16 output PWM with no telemetry.
- receiver mode to D(D8)protocol (with Hub telemetry).
- receiver mode to LBT protocol.
- receiver mode for servo rate(selection- 22.5;18;9-ms).
- receiver mode SBUS(inverted signal or not).
- receiver mode SPORT(inverted signal or not).
Page 2: STATISTICS
- DropPkt
- Drop%
- TotCrcErr
- LbtBlks
- PktErr
- Button MENU short press, change pages between RX-MODES page and Statistics.
- Button UP and DOWN move between fields/lines to select value for editing.
- Button RIGHT allow editing the page values the selected value will blink so you know you are on this mode.In this mode press button UP and DOWN increase /decrease values.Button LEFT short press close edititing mode blink will stop.
- Button MENU long press enters in new menu(saving) with 2 options save page and reload. Select one of the options by pressing UP and DOWN button.Press RIGHT button to run the selected mode. save page as the name implied send commands for saving the new page values to betaflight and reload commands for retrieving the values from betaflight.
- Button EXIT long press terminate the script running and you exit on general script screen.