s
Dependencies: mbed
Fork of LAB10_Oppgave1 by
main.cpp@1:71c2911a59ce, 2015-11-05 (annotated)
- Committer:
- Voldread
- Date:
- Thu Nov 05 16:13:28 2015 +0000
- Revision:
- 1:71c2911a59ce
- Parent:
- 0:1fe30bae9dc1
s
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rlanghbv | 0:1fe30bae9dc1 | 1 | #include "mbed.h" |
rlanghbv | 0:1fe30bae9dc1 | 2 | |
rlanghbv | 0:1fe30bae9dc1 | 3 | Serial pc(USBTX, USBRX); |
rlanghbv | 0:1fe30bae9dc1 | 4 | |
rlanghbv | 0:1fe30bae9dc1 | 5 | int main() { |
rlanghbv | 0:1fe30bae9dc1 | 6 | while (1) { |
Voldread | 1:71c2911a59ce | 7 | pc.putc(pc.getc()+1); |
rlanghbv | 0:1fe30bae9dc1 | 8 | } |
rlanghbv | 0:1fe30bae9dc1 | 9 | |
rlanghbv | 0:1fe30bae9dc1 | 10 | |
Voldread | 1:71c2911a59ce | 11 | } |