JM9 XRCU Board 0.1.2
Libraries API Reference
Loading...
Searching...
No Matches
rgb_t Struct Reference

An RGB-888 color. More...

#include <Color_sensor.h>

Public Attributes

uint8_t r
 8-bit RED component in RGB-888 [0 : 255].
 
uint8_t g
 8-bit GREEN component in RGB-888 [0 : 255].
 
uint8_t b
 8-bit BLUE component in RGB-888 [0 : 255].
 

Detailed Description

An RGB-888 color.

A color represented by the RGB-888 model.
R - Red [0 : 255]
G - Green [0 : 255]
B - Blue [0 : 255]

Note
DISCLAIMER:
The hardware of this sensor is not provided by Journey Maker 9 Systems.
Performance and stability could not be guaranteed to JM9 competition standards.
Consult hardware distributor before using this sensor in critical competitions.
Author
YH Choi @ JM9
See also
Color_sensor::get_rgb()

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