AutoBalance_v2
AutoBalance_v2

Contains logic for the Auto Balance Node command (Version 2).

Functions
buildCommand
static ByteStream buildCommand(
NodeAddress nodeAddress,
uint8 channelNumber,
float targetPercent
)

Builds the AutoBalance_v2 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).

targetPercent
float

The target percentage to balance to (0 - 100).

Returns

A ByteStream containing the command packet.