ColourSensorEnable(Int32, Int32) Method
Enables the colour sensor to report colour values using specified integration time and gain.
Namespace: RoboTx.ApiAssembly: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+58b061ffe902bd370f7f9a4c58103d8e1f566889
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.