Windows Virtual Shields for Arduino
Public Member Functions | Public Attributes | List of all members
ARGB Union Reference

#include <SensorModels.h>

Public Member Functions

 ARGB (byte alpha, byte red, byte green, byte blue)
 
 ARGB (byte red, byte green, byte blue)
 
 ARGB (unsigned long color)
 
 ARGB (String hex)
 
void hex (char *hexSource)
 

Public Attributes

uint32_t color
 
struct {
   uint8_t   blue
 
   uint8_t   green
 
   uint8_t   red
 
   uint8_t   alpha
 
}; 
 

Constructor & Destructor Documentation

ARGB::ARGB ( byte  alpha,
byte  red,
byte  green,
byte  blue 
)
inline
ARGB::ARGB ( byte  red,
byte  green,
byte  blue 
)
inline
ARGB::ARGB ( unsigned long  color)
inline
ARGB::ARGB ( String  hex)
inline

Member Function Documentation

void ARGB::hex ( char *  hexSource)
inline

Member Data Documentation

struct { ... }
uint8_t ARGB::alpha
uint8_t ARGB::blue
uint32_t ARGB::color
uint8_t ARGB::green
uint8_t ARGB::red

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