main.cpp

Committer:
marcuss421
Date:
2010-10-26
Revision:
1:febf41cc26a6
Parent:
0:87415e84d72f

File content as of revision 1:febf41cc26a6:

#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');
    }
}