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.
Revision 1:92cc47cc4e16, committed 2020-08-08
- Comitter:
- liammchale
- Date:
- Sat Aug 08 11:42:12 2020 +0000
- Parent:
- 0:0955f54a0564
- Commit message:
- replaced /n with/r
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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