
embedded system Q3
Diff: main.cpp
- Revision:
- 1:92cc47cc4e16
- Parent:
- 0:0955f54a0564
--- a/main.cpp Sat Aug 08 11:34:11 2020 +0000 +++ b/main.cpp Sat Aug 08 11:42:12 2020 +0000 @@ -15,7 +15,7 @@ green = pot2; pot1value = pot1.read(); pot2value = pot2.read(); - pc.printf("pot1 = %.3f %.3fV | pot2 = %.3f %.3fV\n", pot1value, + pc.printf("pot1 = %.3f %.3fV | pot2 = %.3f %.3fV\r", pot1value, pot1value*3.3, pot2value, pot2value*3.3); //shows the current value of the poteniometers in the range 0-1, //also shows the voltage value