Evan Brown
/
APpart3_E_start_2
completed code
main.cpp
- Committer:
- evenbrownie
- Date:
- 2018-11-08
- Revision:
- 0:f43994f44684
- Child:
- 2:a4d5e7f96e87
File content as of revision 0:f43994f44684:
#include "mbed.h" DigitalOut myled(LED1); int main() { while(1) { myled = 1; // LED is ON wait(0.2); // 200 ms myled = 0; // LED is OFF wait(1.0); // 1 sec } }