Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

NXT C++ Bluetooth Library
Class Rgb_color

Result
   |
   +--Rgb_color

   in color.h

class Rgb_color
extends Result

Class to retrieve red green and blue colors from the HiTechnic color sensor

See Also:
Color_sensor::read

Field Summary
 unsigned int blue
          Holds the raw 10-bit blue color
 unsigned int green
          Holds the raw 10-bit green color
 unsigned int red
          Holds the raw 10-bit red color
 
Constructor Summary
Rgb_color()
          
 
Method Summary
 Result_type get_type()
          
   
Methods inherited from class Result
get_type
 

Field Detail

blue

public unsigned int blue;
Holds the raw 10-bit blue color

green

public unsigned int green;
Holds the raw 10-bit green color

red

public unsigned int red;
Holds the raw 10-bit red color


Constructor Detail

Rgb_color

public Rgb_color();


Method Detail

get_type

public Result_type get_type();
Returns:
RGB_RESULT

 Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD