just ledcontrol
Fork of ledControl2 by
ledControl.h
- Committer:
- BaserK
- Date:
- 2015-07-09
- Revision:
- 0:0afc4bd76407
- Child:
- 1:7ffaf6e46589
File content as of revision 0:0afc4bd76407:
#ifndef LEDCONTROL_H // "if not defined": to ensure that header code is only ever included once by the linker. #define LEDCONTROL_H #include "mbed.h" extern DigitalOut led1; // allow led1 to be manipulated by other files extern DigitalOut led2; extern DigitalOut led3; extern DigitalOut led4; void ledControl(int ledNum,int value); // function prototype void ledToggle(int ledNum); #endif