Source:band
since 1.5.5
Get or set the band of the source if it is a FrSky Sensor.
local band = source:band([band])
Parameters
| Name |
Type |
Required |
Description |
band |
integer |
optional |
|
Returns
band (integer)
Examples
From the official Ethos documentationsource = system.getSource({name="GPS"})
source:band(0)
print(source:name() .. " module:" .. source:module() .. " band:" .. source:band() .. " appId:" .. source:appId() .. " physId:" .. source:physId())