SPIKE-RT C API Reference [English]
An RTOS-based software platform for LEGO® Education SPIKE™.
|
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 |
Returns the raw RGB values measured by the color sensor.
pdev | PUP device pointer to be inquired. |