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: MODSERIAL mbed Encoder
Diff: main.cpp
- Revision:
- 3:935347ab4e12
- Parent:
- 2:3dab90d3aac2
- Child:
- 4:513c33bba011
diff -r 3dab90d3aac2 -r 935347ab4e12 main.cpp
--- a/main.cpp Wed Oct 16 08:53:57 2013 +0000
+++ b/main.cpp Wed Oct 16 08:54:31 2013 +0000
@@ -55,7 +55,7 @@
//Met bovenstaande zijn de metingen gedaan.
//Dat is
//z=(z1/denl2-(numl1/denl2)*y1+(numl2/denl2)*y)
- z=y*numl1+y1*numl2-z1*denl2;
+ z=yabs*numl1+yabs1*numl2-z1*denl2;
pc.printf("%f\n\r",z);
x1=x;
