light_up_all(brightness)

Lights up all of the lights on the Color Sensor at the specified brightness. This causes the Color Sensor to change modes, which can affect your program in unexpected ways. For example, the Color Sens

Parameters:

brightness: number

Errors:

TypeError: brightness is not an integer.

Last updated