ADC values read in two formats are printed on PC terminal.

Dependencies:   mbed

Revision:
1:9178a2aee69f
Parent:
0:0d95cd35c02a
--- a/simple_AD_serial.cpp	Thu May 10 02:25:35 2018 +0000
+++ b/simple_AD_serial.cpp	Mon Jul 30 07:01:15 2018 +0000
@@ -1,3 +1,6 @@
+/* simple_AD_serial reads analog voltage on pin-20
+/* and sends to PC in two formats, 16bit int and 32bit float */
+
 #include "mbed.h"
 Serial pc(USBTX, USBRX);
 AnalogIn adin(p20);