ColourSensorGetRGBC Method

Gets the red, green, blue and clear 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 RGBColour GetRGBC()

Return Value

RGBColour
Tuple of (red, green, blue, clear).

See Also