MBLPhotometer Class Reference

Inherits from MBLModule : NSObject
Declared in MBLPhotometer.h

Overview

Interface to an abstract photometer sensor. If you need more advanced features then upcast to the specific sensor on your board, MBLPhotometerTCS3472.

  color

Data representing the intensity of red, green, blue, and clear light exposed to the sensor. Event callbacks will be provided an MBLRGBData object.

@property (nonatomic, readonly, nullable) MBLData<MBLRGBData*> *color

Declared In

MBLPhotometer.h

  redColor

Data representing the intensity of red light. Event callbacks will be provided an MBLNumericData object whose double value is intensity in counts.

@property (nonatomic, readonly, nullable) MBLData<MBLNumericData*> *redColor

Declared In

MBLPhotometer.h

  greenColor

Data representing the intensity of green light. Event callbacks will be provided an MBLNumericData object whose double value is intensity in counts.

@property (nonatomic, readonly, nullable) MBLData<MBLNumericData*> *greenColor

Declared In

MBLPhotometer.h

  blueColor

Data representing the intensity of blue light. Event callbacks will be provided an MBLNumericData object whose double value is intensity in counts.

@property (nonatomic, readonly, nullable) MBLData<MBLNumericData*> *blueColor

Declared In

MBLPhotometer.h

  clearColor

Data representing the intensity of clear light. Event callbacks will be provided an MBLNumericData object whose double value is intensity in counts.

@property (nonatomic, readonly, nullable) MBLData<MBLNumericData*> *clearColor

Declared In

MBLPhotometer.h