![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Just trying to read values into Terraterm
main.cpp
- Committer:
- jkangwi
- Date:
- 2015-04-23
- Revision:
- 0:a4ee67431356
- Child:
- 1:68153aa41971
File content as of revision 0:a4ee67431356:
#include "mbed.h" #include "Motor.h" AnalogIn sonic(p15); float data; int main() { while(1) { data=bed.read(); printf("%f \n",data); } }