![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing removal
main.cpp@1:398fa178da76, 2018-05-29 (annotated)
- Committer:
- karen801
- Date:
- Tue May 29 14:46:00 2018 +0000
- Revision:
- 1:398fa178da76
- Parent:
- 0:c16eb2b17039
- Child:
- 2:2983a1db79c8
testing push
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
karen801 | 0:c16eb2b17039 | 1 | #include "mbed.h" |
karen801 | 0:c16eb2b17039 | 2 | |
karen801 | 0:c16eb2b17039 | 3 | DigitalOut led1(LED1); |
karen801 | 0:c16eb2b17039 | 4 | |
karen801 | 0:c16eb2b17039 | 5 | // main() runs in its own thread in the OS |
karen801 | 0:c16eb2b17039 | 6 | int main() { |
karen801 | 0:c16eb2b17039 | 7 | while (true) { |
karen801 | 0:c16eb2b17039 | 8 | led1 = !led1; |
karen801 | 0:c16eb2b17039 | 9 | wait(0.5); |
karen801 | 1:398fa178da76 | 10 | //testing pushes |
karen801 | 0:c16eb2b17039 | 11 | } |
karen801 | 0:c16eb2b17039 | 12 | } |
karen801 | 0:c16eb2b17039 | 13 |