Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
sensors_color_t Struct Reference

#include <Adafruit_Sensor.h>

Public Attributes

union {
   float   c [3]
 
   struct {
      float   r
 
      float   g
 
      float   b
 
   } 
 
}; 
 
uint32_t rgba
 

Detailed Description

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

Member Data Documentation

float sensors_color_t::b

Blue component

float sensors_color_t::g

Green component

float sensors_color_t::r

Red component

uint32_t sensors_color_t::rgba

24-bit RGBA value