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
Revision 3:935347ab4e12, committed 2013-10-16
- Comitter:
- Socrates
- Date:
- Wed Oct 16 08:54:31 2013 +0000
- Parent:
- 2:3dab90d3aac2
- Child:
- 4:513c33bba011
- Commit message:
- Voor opschonen 2;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
