Alain Pegatoquet
/
test_vcs
Simple test for Version Control System
main.cpp@0:b2a3eec02494, 2017-05-24 (annotated)
- Committer:
- alainpegatoquet
- Date:
- Wed May 24 12:09:24 2017 +0000
- Revision:
- 0:b2a3eec02494
- Child:
- 1:82d0e5b4654c
Version 0.1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
alainpegatoquet | 0:b2a3eec02494 | 1 | #include "mbed.h" |
alainpegatoquet | 0:b2a3eec02494 | 2 | |
alainpegatoquet | 0:b2a3eec02494 | 3 | DigitalOut myled(LED1); |
alainpegatoquet | 0:b2a3eec02494 | 4 | |
alainpegatoquet | 0:b2a3eec02494 | 5 | int main() { |
alainpegatoquet | 0:b2a3eec02494 | 6 | while(1) { |
alainpegatoquet | 0:b2a3eec02494 | 7 | myled = 1; |
alainpegatoquet | 0:b2a3eec02494 | 8 | wait(0.2); |
alainpegatoquet | 0:b2a3eec02494 | 9 | myled = 0; |
alainpegatoquet | 0:b2a3eec02494 | 10 | wait(0.2); |
alainpegatoquet | 0:b2a3eec02494 | 11 | } |
alainpegatoquet | 0:b2a3eec02494 | 12 | } |