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.h Source File

LED.h

00001 #ifndef LED_H_
00002 #define LED_H_
00003 
00004 #include "mbed.h"
00005 #include <stdint.h>
00006 
00007 namespace LED {
00008     extern DigitalOut boardLED[];
00009 
00010     #define LED_ON  0
00011     #define LED_OFF 1
00012 
00013     #define LED_DEBUG0_PIN  PC_11
00014     #define LED_DEBUG1_PIN  PC_10
00015     #define LED_DEBUG2_PIN  PC_12
00016     #define LED_MU_PIN      PC_13
00017 
00018     #define LED_DEBUG0  LED::boardLED[0]
00019     #define LED_DEBUG1  LED::boardLED[1]
00020     #define LED_DEBUG2  LED::boardLED[2]
00021     #define LED_MU      LED::boardLED[3]
00022     
00023     class LED {
00024         public:
00025         static void Initialize();
00026     };
00027 }
00028 
00029 #endif