Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Communicator.cpp
- Revision:
- 1:f8372f3df8d2
- Parent:
- 0:c2b3b055cc8e
- Child:
- 2:5e42a3c4fd80
diff -r c2b3b055cc8e -r f8372f3df8d2 Communicator.cpp
--- a/Communicator.cpp Tue Mar 09 20:10:45 2021 +0000
+++ b/Communicator.cpp Sun Apr 11 22:40:28 2021 +0000
@@ -16,17 +16,17 @@
while(1){
- pc.printf("P%.4f\r\n", Pedal);
- pc.printf("T%.4f\r\n", Thorttle);
- pc.printf("b%d\r\n", Brake);
- pc.printf("R%d\r\n", RPM);
- pc.printf("V%.4f\r\n", Voltage);
- pc.printf("S%.4f\r\n", Speed);
- pc.printf("C%d\r\n", CANError);
- pc.printf("t%d\r\n", ThorttleError);
- pc.printf("p%d\r\n", PedalError);
- pc.printf("B%d\r\n", BSPDError);
- pc.printf("s%d\r\n", Shutdowncircuit);
+ pc.printf("P%.4f\n", Pedal);
+ pc.printf("T%.4f\n", Thorttle);
+ pc.printf("b%d\n", Brake);
+ pc.printf("R%d\n", RPM);
+ pc.printf("V%.4f\n", Voltage);
+ pc.printf("S%.4f\n", Speed);
+ pc.printf("C%d\n", CANError);
+ pc.printf("t%d\n", ThorttleError);
+ pc.printf("p%d\n", PedalError);
+ pc.printf("B%d\n", BSPDError);
+ pc.printf("s%d\n", Shutdowncircuit);
i++;
j++;
k++;