SPIKE-RT C API Reference [Japanese]
An RTOS-based software platform for LEGO® Education SPIKE™.
全て データ構造 ファイル 関数 型定義 列挙型 グループ
関数
light.h ファイル

API for the hub built-in status light. [詳解]

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

[ソースコード]

関数

pbio_error_t hub_light_on_hsv (const pbio_color_hsv_t *hsv)
 指定された HSV でライトを点灯させる. [詳解]
 
pbio_error_t hub_light_on_color (pbio_color_t color)
 指定された色でライトを点灯させる. [詳解]
 
pbio_error_t hub_light_off (void)
 ライトを消灯させる. [詳解]
 

詳解

API for the hub built-in status light.

著者
Shu Yoshifumi