Our Programm to build up from the PES Board Example
Dependencies: PM2_Libary
Diff: main.cpp
- Revision:
- 14:db46f47b0480
- Parent:
- 13:5d689f89d794
- Child:
- 15:a2c188ed294f
--- a/main.cpp Tue Apr 06 12:49:57 2021 +0200 +++ b/main.cpp Tue Apr 06 12:20:31 2021 +0000 @@ -34,7 +34,7 @@ /* read analog input */ dist = analogIn.read()*3.3f; - + /* do only output what's really necessary, outputting "Measured value in mV: "" within the loop is no good solution */ printf("Measured value in mV: %d\r\n", (static_cast<int>(dist * 1e3)));