Yutong Gu
/
mbed_blinky_2
This is a test repo
main.cpp@2:4e79fa9db630, 2019-11-20 (annotated)
- Committer:
- yutonggu
- Date:
- Wed Nov 20 21:43:37 2019 +0000
- Revision:
- 2:4e79fa9db630
- Parent:
- 1:165b69c34adc
This is Yutong's fork message
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yutonggu | 0:44aaeae4bb7a | 1 | #include "mbed.h" |
yutonggu | 0:44aaeae4bb7a | 2 | |
yutonggu | 0:44aaeae4bb7a | 3 | DigitalOut myled(LED1); |
yutonggu | 0:44aaeae4bb7a | 4 | |
yutonggu | 0:44aaeae4bb7a | 5 | int main() { |
yutonggu | 0:44aaeae4bb7a | 6 | while(1) { |
yutonggu | 0:44aaeae4bb7a | 7 | //This is Yutong's comment |
guoxsharon | 1:165b69c34adc | 8 | //This is Sharon/s comment |
yutonggu | 2:4e79fa9db630 | 9 | //This is Yutong's comment via fork |
yutonggu | 0:44aaeae4bb7a | 10 | myled = 1; |
yutonggu | 0:44aaeae4bb7a | 11 | wait(0.2); |
yutonggu | 0:44aaeae4bb7a | 12 | myled = 0; |
yutonggu | 0:44aaeae4bb7a | 13 | wait(0.2); |
yutonggu | 0:44aaeae4bb7a | 14 | } |
yutonggu | 0:44aaeae4bb7a | 15 | } |