![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Simple test for Version Control System
main.cpp@2:c4d361e4a860, 2017-05-24 (annotated)
- Committer:
- alainpegatoquet
- Date:
- Wed May 24 12:17:48 2017 +0000
- Revision:
- 2:c4d361e4a860
- Parent:
- 1:82d0e5b4654c
- Child:
- 3:083b8bb2bb8b
Version 1.1 : change name of myled into myled1
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 | 2:c4d361e4a860 | 3 | DigitalOut myled1(LED1); |
alainpegatoquet | 0:b2a3eec02494 | 4 | |
alainpegatoquet | 0:b2a3eec02494 | 5 | int main() { |
alainpegatoquet | 0:b2a3eec02494 | 6 | while(1) { |
alainpegatoquet | 2:c4d361e4a860 | 7 | myled1 = 1; |
alainpegatoquet | 1:82d0e5b4654c | 8 | wait(0.5); |
alainpegatoquet | 2:c4d361e4a860 | 9 | myled1 = 0; |
alainpegatoquet | 1:82d0e5b4654c | 10 | wait(1.0); |
alainpegatoquet | 0:b2a3eec02494 | 11 | } |
alainpegatoquet | 0:b2a3eec02494 | 12 | } |