Mark Horn
/
New
Revision 1:febf41cc26a6, committed 2010-10-26
- Comitter:
- marcuss421
- Date:
- Tue Oct 26 01:55:24 2010 +0000
- Parent:
- 0:87415e84d72f
- Commit message:
Changed in this revision
Terminal.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 87415e84d72f -r febf41cc26a6 Terminal.lib --- a/Terminal.lib Tue Oct 26 01:38:56 2010 +0000 +++ b/Terminal.lib Tue Oct 26 01:55:24 2010 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/simon/code/Terminal/#85184c13476c +http://mbed.org/users/simon/code/Terminal/#96ae39e58792
diff -r 87415e84d72f -r febf41cc26a6 main.cpp --- a/main.cpp Tue Oct 26 01:38:56 2010 +0000 +++ b/main.cpp Tue Oct 26 01:55:24 2010 +0000 @@ -1,13 +1,14 @@ -#include "mbed.h" - -#include "Terminal.h" - -Terminal term(USBTX, USBRX); - -AnalogIn voltage(p20); - -int main() { - while(1==1){ - term.printf("(%f)", voltage.read()); - } -} +#include "mbed.h" + +#include "Terminal.h" + +Terminal term(USBTX, USBRX); + +AnalogIn voltage(p20); + +int main() { + while(1==1){ + float x = voltage.read(); + term.printf('x'); + } +}