pylabrobot.formulatrix.mantis.driver.simulator.MantisSimulationLedBar.set_color#

async MantisSimulationLedBar.set_color(*, color: int | str | Sequence[int | str]) → None#

Show one colour on every LED, or one colour per LED; any animation is stopped first.

Parameters:

color (int | str | Sequence[int | str]) – one Color for every LED, or number_of_leds of them, one per LED.

Raises:

ValueError – if a colour is not a Color, or a sequence does not hold number_of_leds colours; nothing is sent.

Return type:

None