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.
Dependencies: FastPWM HIDScope MODSERIAL QEI mbed
Diff: main.cpp
- Revision:
- 6:ae2ae12328b7
- Parent:
- 5:348cd7d2a094
- Child:
- 7:2440100fe04c
--- a/main.cpp Wed Oct 10 11:56:34 2018 +0000 +++ b/main.cpp Wed Oct 10 12:09:09 2018 +0000 @@ -58,7 +58,7 @@ theta2 = (float(counts2)/4200) * 2*pi; // Angle of outputshaft of motor 2 pc.baud(115200); - pc.printf("Hoek motor 1 = %0.2f, hoek motor 2 = %0.2f \n \r ", theta1, theta2); + pc.printf("Hoek motor 1 = %0.2f rad, hoek motor 2 = %0.2f rad \n \r ", theta1, theta2); }