Committer:
marcuss421
Date:
Tue Oct 26 01:55:24 2010 +0000
Revision:
1:febf41cc26a6
Parent:
0:87415e84d72f

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
marcuss421 1:febf41cc26a6 1 #include "mbed.h"
marcuss421 1:febf41cc26a6 2
marcuss421 1:febf41cc26a6 3 #include "Terminal.h"
marcuss421 1:febf41cc26a6 4
marcuss421 1:febf41cc26a6 5 Terminal term(USBTX, USBRX);
marcuss421 1:febf41cc26a6 6
marcuss421 1:febf41cc26a6 7 AnalogIn voltage(p20);
marcuss421 1:febf41cc26a6 8
marcuss421 1:febf41cc26a6 9 int main() {
marcuss421 1:febf41cc26a6 10 while(1==1){
marcuss421 1:febf41cc26a6 11 float x = voltage.read();
marcuss421 1:febf41cc26a6 12 term.printf('x');
marcuss421 1:febf41cc26a6 13 }
marcuss421 1:febf41cc26a6 14 }