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.
Dependents: 200319_ESCON_motor
Revision 1:664683c8423c, committed 2020-03-23
- Comitter:
- dsfqfqds
- Date:
- Mon Mar 23 13:10:47 2020 +0000
- Parent:
- 0:bdb5e4c36d39
- Commit message:
- HRI class in POSTECH
Changed in this revision
| ESCON_rpm.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ESCON_rpm.cpp Mon Mar 23 11:21:16 2020 +0000
+++ b/ESCON_rpm.cpp Mon Mar 23 13:10:47 2020 +0000
@@ -16,5 +16,5 @@
}
double ESCON_rpm::read(void) {
- return grad*(rpm*max_volt - min_volt) + min_rpm;
+ return grad*(rpm*(max_volt-min_volt) - min_volt) + min_rpm;
}