ColourSensorGetHSL Method

Gets the colour as H, S and L values reported by the colour sensor once it has been enabled. How long it takes for colour values to start being reported, and the subsequent reporting interval will depend in the integration time specified in the Enable method.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public HSLColour GetHSL()

Return Value

HSLColour
Tuple of (H, S, L) values.

See Also