Nagano kosen robocon

Dependencies:   mbed QEI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LED.cpp Source File

LED.cpp

00001 #include "LED.h"
00002 #include "../System/Using.h"
00003 #include "mbed.h"
00004 #include <stdint.h>
00005 
00006 namespace LED {
00007     DigitalOut boardLED[USE_LED_NUM] = {
00008         DigitalOut(LED_DEBUG0_PIN),
00009         DigitalOut(LED_DEBUG1_PIN),
00010         DigitalOut(LED_MU_PIN),
00011     };
00012 
00013     void LED::Initialize() {
00014         for(uint8_t i=0; i < USE_LED_NUM; i++) {
00015             boardLED[i] = LED_OFF;
00016         }
00017     }
00018 }
00019