#include <Display.h>
|
| enum class | EOrientation { TOP = PBIO_SIDE_TOP
, LEFT = PBIO_SIDE_LEFT
, RIGHT = PBIO_SIDE_RIGHT
, BOTTOM = PBIO_SIDE_BOTTOM
} |
◆ Display()
| spikeapi::Display::Display |
( |
void | | ) |
|
|
default |
◆ off()
| void spikeapi::Display::off |
( |
| ) |
|
|
inline |
ハブ内蔵ディスプレイを消灯する param - return -
◆ scrollText()
| void spikeapi::Display::scrollText |
( |
const char * | text, |
|
|
uint32_t | delay ) |
|
inline |
文字列をスクロールして表示する。 param text 表示する文字列 param delay スクロールの感覚(ms) return -
◆ setImage()
| void spikeapi::Display::setImage |
( |
uint8_t * | image | ) |
|
|
inline |
イメージの行列(5x5)で表示する param image 輝度の行列。2次元配列でも良い return -
◆ setOnePixel()
| void spikeapi::Display::setOnePixel |
( |
uint8_t | row, |
|
|
uint8_t | column, |
|
|
uint8_t | brightness ) |
|
inline |
指定した輝度で指定したピクセルを点灯する param row(int) 一番上側を0とした行番号 param column(int) 一番左側を0とした列番号 param brightness(%) ピクセルの輝度 return -
◆ setOrientation()
| void spikeapi::Display::setOrientation |
( |
EOrientation | up | ) |
|
|
inline |
ハブ内蔵ディスプレイの表示方向を設定する param up 表示方向の上側 return -
◆ showChar()
| void spikeapi::Display::showChar |
( |
const char | c | ) |
|
|
inline |
1文字あるいは記号を表示する param c return -
◆ showNumber()
| void spikeapi::Display::showNumber |
( |
const int8_t | num | ) |
|
|
inline |
数字を表示する param num -99〜99 負の符号はディスプレイの中央の薄い点として表現される return -
◆ showText()
| void spikeapi::Display::showText |
( |
const char * | text, |
|
|
uint32_t | on, |
|
|
uint32_t | off ) |
|
inline |
文字列を表示する。一文字ずつ一定時間で点灯・消灯する param text 表示する文字列 param on 表示される時間(ms) param off 消灯される時間(ms) return -
The documentation for this class was generated from the following file: