Paul Stewart
/
ME21001_Lab02_Exercise_01
Ex 1
main.cpp
- Committer:
- pdstewart
- Date:
- 2016-09-22
- Revision:
- 0:579045175873
File content as of revision 0:579045175873:
#include "mbed.h" DigitalOut myled(LED1); // use onboard LED #1 int main() { while(1) { // repeat indefinitely myled = 1; // turn on LED #1 wait(0.250); // wait 250ms myled = 0; // turn off LED #1 wait(0.250); // wait 250ms } }