set_range()#

BK85XXB.set_range(
mode: LoadMode,
value: float,
channel: int,
) → None[source]#

Set the operating range on channel from the expected maximum.

value is the maximum operating value in mode’s units (see set_level()). Drivers typically snap to the closest hardware range that covers value.