led blinky example
main.cpp
- Committer:
- RCMISbed
- Date:
- 2018-08-09
- Revision:
- 1:147c352ea3f6
- Parent:
- 0:21ff47307aba
File content as of revision 1:147c352ea3f6:
#include "mbed.h"
DigitalOut myled(LED3);
int main() {
while(1) {
myled = 1;
wait(0.1);
myled = 0;
wait(0.5);
}
}