5_Serial_communication
Fork of 5_Serial_communication by
You can download a pdf, that will show you the code and the funktion of the software "Profilab":
/media/uploads/schlaumaier54/analog4x_com_profilab.pdf
Neumaier Feb 2018
Diff: main.cpp
- Revision:
- 1:352a83ca121c
- Parent:
- 0:6bc1fd344c20
--- a/main.cpp Fri Oct 04 18:29:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -#include "mbed.h" - -Serial pc(USBTX, USBRX); // tx, rx -AnalogIn s1(p20); - -int main() - { - float x; - while(1) - { - x=s1.read(); - pc.printf("%f",x); - wait(1); - pc.printf("%f",x); - wait(1); -} -} \ No newline at end of file