Robert Gutknecht
/
USBSerial_mes_volt
Volt measure from serial connection of 4x820Ohm resistors using print over USBSerial to PC (TeraTerm)
Revision 1:30c120997cb2, committed 2013-04-09
- Comitter:
- robert_gutknecht
- Date:
- Tue Apr 09 09:52:35 2013 +0000
- Parent:
- 0:b5d2c616ffb7
- Commit message:
- new
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b5d2c616ffb7 -r 30c120997cb2 main.cpp --- a/main.cpp Tue Apr 09 08:39:51 2013 +0000 +++ b/main.cpp Tue Apr 09 09:52:35 2013 +0000 @@ -1,7 +1,8 @@ #include "mbed.h" #include "USBSerial.h" + AnalogIn ain(p15); - DigitalOut myled1(LED1); +DigitalOut myled1(LED1); //Virtual serial port over USB USBSerial serial;