LUA Script
1. Output Channel Selection
local output_channel = 94 -- SERVO9
2. Battery Voltage Threshold
Set the battery failsafe trigger point manually (e.g., 10.5 V for 3S, 14.0 V for 4S):
local low_voltage_threshold = 10.5
3. RC Override Channel
This is the RC input used to trigger Mode 4 manually via a switch:
local rc_override_channel = 9 -- RC9
4. PWM Values for Each Mode
These PWM values define the ranges the strobe reacts to:
local PWM_IDLE = 1200 -- Solid ON (idle)
local PWM_ARMED = 1000 -- Armed mode (blink once)
local PWM_FAIL = 1800 -- Battery low (blink twice)
local PWM_MANUAL = 1900 -- RC override (rapid red)
local PWM_OFF = 2000 -- RC override: turn LED OFF
Last updated