interesting
Dependencies: mbed
main.cpp
- Committer:
- DeanArm7
- Date:
- 2017-11-29
- Revision:
- 1:9f1d7a316755
- Parent:
- 0:bb088e8d11ad
File content as of revision 1:9f1d7a316755:
#include "mbed.h" AnalogIn end_in(p15); Serial pc(USBTX, USBRX); // tx, rx int main() { float end_test=0; while(1) { wait(1); end_test = end_in; pc.printf("%f\n\r",end_test); } }