Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 Mon Jul 18 2022 14:24:17 by
