lknds
Dependencies: mbed TrapezoidControl Pulse QEI
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 PA_8 00014 #define LED_DEBUG1_PIN PB_10 00015 #define LED_DEBUG2_PIN PB_4 00016 #define LED_MU_PIN PB_5 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
Generated on Sun Jul 17 2022 15:33:13 by 1.7.2