VisionBox_SetLed


Sets led state.

Syntax

C++
Python
 
def VisionBox_SetLed(
	state: VisionBox_State,
	inLedIndex: int,
	inLedState: bool,
	/
)
-> None

Parameters

Name Type Default Description
Input will be modified ioState VisionBox_State
Input value inLedIndex int Selects led
Input value inLedState bool Whether to turn led on or off

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.