SPIKE-RT C API Reference [English]
An RTOS-based software platform for LEGO® Education SPIKE™.
Functions
light.h File Reference

API for the hub built-in status light. More...

#include <stdint.h>
#include <pbio/error.h>
#include <pbio/color.h>

Go to the source code of this file.

Functions

pbio_error_t hub_light_on_hsv (const pbio_color_hsv_t *hsv)
 Turn the light on with specified color. More...
 
pbio_error_t hub_light_on_color (pbio_color_t color)
 Turn the light on with specified color. More...
 
pbio_error_t hub_light_off (void)
 Turn the light off. More...
 

Detailed Description

API for the hub built-in status light.

Author
Shu Yoshifumi