Adafruit Library
Public Attributes | List of all members
sensors_color_t Struct Reference

#include <Adafruit_CPlay_Sensor.h>

Public Attributes

union {
   float   c [3]
 array to hold floating point RGB color
 
   struct {
      float   r
 Red component */.
 
      float   g
 Green component */.
 
      float   b
 Blue component */.
 
   } 
 RGB color space.
 
}; 
 union of RGB color space data
 
uint32_t rgba
 24-bit RGBA value */
 

Detailed Description

struct sensors_color_s is used to return color data in a common format.


The documentation for this struct was generated from the following file: