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/LED.h
- Committer:
- kishibekairohan
- Date:
- 2019-07-01
- Revision:
- 16:3f2c2d89372b
- Parent:
- 0:669ef71cba68
- Child:
- 29:44d5454ce8fa
File content as of revision 16:3f2c2d89372b:
#ifndef LED_H_
#define LED_H_
#include "mbed.h"
#include <stdint.h>
namespace LED {
extern DigitalOut boardLED[];
#define LED_ON 0
#define LED_OFF 1
#define LED_DEBUG0_PIN PA_8
#define LED_DEBUG1_PIN PB_10
#define LED_DEBUG2_PIN PB_4
#define LED_MU_PIN PB_5
#define LED_DEBUG0 LED::boardLED[0]
#define LED_DEBUG1 LED::boardLED[1]
#define LED_DEBUG2 LED::boardLED[2]
#define LED_MU LED::boardLED[3]
class LED {
public:
static void Initialize();
};
}
#endif