38 #ifdef IS_RIGHT_COURSE
40 firstCode = ui.getFirstCode();
43 ui.setBrightnessWithColor(light_white,
"white");
44 ui.setBrightnessWithColor(light_black,
"black");
45 ui.setBrightnessWithColor(light_gray,
"gray");
46 target_brightness = (light_black + light_white) / 2;
47 controller.
printDisplay(7,
"Brightness W:%d, B:%d, T:%d", light_white, light_black,
59 auto brightness = target_brightness;
60 #ifdef IS_RIGHT_COURSE
62 rightCourse.run(brightness, light_black, light_white, light_gray);
65 leftCourse.run(brightness, light_black, light_white, light_gray);
73 if(bluetooth_command == 1) {
走行体が走り出す前にユーザが入力するインターフェースを提供するクラス
void tslpTsk(int16_t time)
bool isPressed(void) const
void printDisplay(int8_t row, const char *format,...)
void speakerSetVolume(uint8_t volume)