![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
test
main.cpp@0:401561763931, 2016-01-15 (annotated)
- Committer:
- gardnmc
- Date:
- Fri Jan 15 11:21:14 2016 +0000
- Revision:
- 0:401561763931
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gardnmc | 0:401561763931 | 1 | #include "mbed.h" |
gardnmc | 0:401561763931 | 2 | |
gardnmc | 0:401561763931 | 3 | DigitalOut myled(LED1); |
gardnmc | 0:401561763931 | 4 | |
gardnmc | 0:401561763931 | 5 | int main() { |
gardnmc | 0:401561763931 | 6 | while(1) { |
gardnmc | 0:401561763931 | 7 | myled = 1; |
gardnmc | 0:401561763931 | 8 | wait(0.2); |
gardnmc | 0:401561763931 | 9 | myled = 0; |
gardnmc | 0:401561763931 | 10 | wait(0.2); |
gardnmc | 0:401561763931 | 11 | } |
gardnmc | 0:401561763931 | 12 | } |