SPIKE-RT C API Reference [English]
An RTOS-based software platform for LEGO® Education SPIKE™.
Data Fields
pup_color_rgb_t Struct Reference

Returns the raw RGB values measured by the color sensor. More...

#include <colorsensor.h>

Data Fields

uint16_t r
 
uint16_t g
 
uint16_t b
 

Detailed Description

Returns the raw RGB values measured by the color sensor.

Parameters
pdevPUP device pointer to be inquired.
Returns
Raw 10-bit values of R, G, B.

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