aaaaaaaaa

Dependencies:   QEI mbed

Fork of MainBoard2018_Auto_Master_A_new by Akihiro Nakabayashi

LED/LED.cpp

Committer:
kishibekairohan
Date:
2018-10-21
Revision:
14:dfcec98f5aa9
Parent:
0:669ef71cba68

File content as of revision 14:dfcec98f5aa9:

#include "LED.h"

#include "../System/Using.h"
#include "mbed.h"
#include <stdint.h>

namespace LED {
    DigitalOut boardLED[USE_LED_NUM] = {
        DigitalOut(LED_DEBUG0_PIN),
        DigitalOut(LED_DEBUG1_PIN),
        DigitalOut(LED_DEBUG2_PIN),
        DigitalOut(LED_MU_PIN),
    };

    void LED::Initialize() {
        for(uint8_t i=0; i < USE_LED_NUM; i++) {
            boardLED[i] = LED_OFF;
        }
    }
}