Yutong Gu
/
mbed_blinky_2
This is a test repo
main.cpp@1:165b69c34adc, 2019-11-20 (annotated)
- Committer:
- guoxsharon
- Date:
- Wed Nov 20 21:41:16 2019 +0000
- Revision:
- 1:165b69c34adc
- Parent:
- 0:44aaeae4bb7a
- Child:
- 2:4e79fa9db630
sharon 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 | 0:44aaeae4bb7a | 9 | myled = 1; |
yutonggu | 0:44aaeae4bb7a | 10 | wait(0.2); |
yutonggu | 0:44aaeae4bb7a | 11 | myled = 0; |
yutonggu | 0:44aaeae4bb7a | 12 | wait(0.2); |
yutonggu | 0:44aaeae4bb7a | 13 | } |
yutonggu | 0:44aaeae4bb7a | 14 | } |