lknds
Dependencies: mbed TrapezoidControl Pulse QEI
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 }
Generated on Sun Jul 17 2022 15:33:13 by 1.7.2