![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
test
main.cpp@2:981579c2a4b0, 2012-01-16 (annotated)
- Committer:
- gsionek
- Date:
- Mon Jan 16 14:14:01 2012 +0000
- Revision:
- 2:981579c2a4b0
- Parent:
- 1:e8904a92fd6c
asd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gsionek | 0:80abebdcaaa6 | 1 | #include "mbed.h" |
gsionek | 0:80abebdcaaa6 | 2 | |
gsionek | 0:80abebdcaaa6 | 3 | DigitalOut myled(LED1); |
gsionek | 1:e8904a92fd6c | 4 | //asd |
gsionek | 2:981579c2a4b0 | 5 | //second changeasdas |
gsionek | 0:80abebdcaaa6 | 6 | Serial pc(USBTX, USBRX); // tx, rx |
gsionek | 0:80abebdcaaa6 | 7 | |
gsionek | 0:80abebdcaaa6 | 8 | int main() { |
gsionek | 0:80abebdcaaa6 | 9 | pc.printf("Hello World!\n"); |
gsionek | 0:80abebdcaaa6 | 10 | while(1) { |
gsionek | 0:80abebdcaaa6 | 11 | myled = 1; |
gsionek | 0:80abebdcaaa6 | 12 | wait(0.2); |
gsionek | 0:80abebdcaaa6 | 13 | myled = 0; |
gsionek | 0:80abebdcaaa6 | 14 | wait(0.2); |
gsionek | 0:80abebdcaaa6 | 15 | } |
gsionek | 0:80abebdcaaa6 | 16 | } |