AutoBalance
AutoBalance

Contains logic for the Auto Balance Node command.

Functions
buildCommand
static ByteStream buildCommand(
NodeAddress nodeAddress,
uint8 channelNumber,
uint16 targetValue
)

Builds the AutoBalance command packet.

Parameters
nodeAddress

The address of the Node to build the command for.

channelNumber
uint8

The channel number to balance (ch1 = 1, ch8 = 8).

targetValue
uint16

The target sensor output value in bits (0-4096).

Returns

A ByteStream containing the command packet.