![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
全国大会用(このプログラムでうまくいったら最高)
Diff: LED/LED.cpp
- Revision:
- 29:44d5454ce8fa
- Parent:
- 0:669ef71cba68
- Child:
- 30:8f092276b2ba
--- a/LED/LED.cpp Thu Oct 03 05:33:48 2019 +0000 +++ b/LED/LED.cpp Fri Oct 18 22:33:25 2019 +0000 @@ -11,10 +11,21 @@ DigitalOut(LED_DEBUG2_PIN), DigitalOut(LED_MU_PIN), }; + + DigitalOut tapeLED[] = { + DigitalOut(LED_tape0_PIN), + DigitalOut(LED_tape1_PIN), + DigitalOut(LED_tape2_PIN), + DigitalOut(LED_tape3_PIN), + DigitalOut(LED_tape3_PIN), + }; void LED::Initialize() { for(uint8_t i=0; i < USE_LED_NUM; i++) { boardLED[i] = LED_OFF; } + for(uint8_t i=0; i < 5; i++) { + tapeLED[i] = LED_OFF; + } } }