Skip to content

LuaSPortSensor:band

since 1.1.0

Get / Set the band.

local band = sensor:band([band])

Parameters

Name Type Required Description
band integer optional

Returns

band (integer)