ColourSensorEnable(Int32, Int32) Method
Enables the colour sensor to report colour values using specified integration time and gain.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public void Enable(
int integrationTime,
int gain
)
Public Sub Enable (
integrationTime As Integer,
gain As Integer
)
member Enable :
integrationTime : int *
gain : int -> unit
Parameters
- integrationTime Int32
- Integration time expressed as a value between 0 and 5 inclusive.
Use static class TCS34725 that has symbolic labels for integration time values.
- gain Int32
- Gain represebted as a value between 0 and 3 inclusive. Use static class TCS34725 that
has symbolic labels for gain values.