aaaaaaaaa

Dependencies:   QEI mbed

Fork of MainBoard2018_Auto_Master_A_new by Akihiro Nakabayashi

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LED.cpp Source File

LED.cpp

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