![](/media/cache/profiles/18091ec91aec4f3a9a5f2aa73c0a18ca.50x50_q85.jpg)
Test
main.cpp@0:f83e02853762, 2013-02-10 (annotated)
- Committer:
- intrinseca
- Date:
- Sun Feb 10 13:23:13 2013 +0000
- Revision:
- 0:f83e02853762
initial program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
intrinseca | 0:f83e02853762 | 1 | #include "mbed.h" |
intrinseca | 0:f83e02853762 | 2 | |
intrinseca | 0:f83e02853762 | 3 | DigitalOut myled(LED1); |
intrinseca | 0:f83e02853762 | 4 | |
intrinseca | 0:f83e02853762 | 5 | int main() { |
intrinseca | 0:f83e02853762 | 6 | while(1) { |
intrinseca | 0:f83e02853762 | 7 | myled = 1; |
intrinseca | 0:f83e02853762 | 8 | wait(0.2); |
intrinseca | 0:f83e02853762 | 9 | myled = 0; |
intrinseca | 0:f83e02853762 | 10 | wait(0.2); |
intrinseca | 0:f83e02853762 | 11 | } |
intrinseca | 0:f83e02853762 | 12 | } |