MBLProximityTSL2671 Class Reference

Inherits from MBLProximity : MBLModule : NSObject
Declared in MBLProximityTSL2671.h

Overview

Interface to a TCS3472 RGB light sensor. The following properties affect the range that the proximity sensor outputs. The defaults provided are good for detecting objects within several inches. You will need more proximityPulses and integrationTime if you want to detect objects further away.

  integrationTime

The measurement time in ms for each proximity sensor cycle. Valid range is [2.72-696.32], 2.72 default.

@property (nonatomic) double integrationTime

Declared In

MBLProximityTSL2671.h

  proximityPulses

Number of light pulses to transmit during measurement. <32 recommended, 1 Default.

@property (nonatomic) uint8_t proximityPulses

Declared In

MBLProximityTSL2671.h

  drive

Drive current applied to transmitter

@property (nonatomic) MBLProximityTSL2671TransmitterDrive drive

Declared In

MBLProximityTSL2671.h