Yutong Gu
/
mbed_blinky_2
This is a test repo
Diff: main.cpp
- Revision:
- 0:44aaeae4bb7a
- Child:
- 1:165b69c34adc
diff -r 000000000000 -r 44aaeae4bb7a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Nov 20 21:30:45 2019 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + //This is Yutong's comment + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}