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: locomotion_pid_action_refactor_EMG
Diff: refGen.h
- Revision:
- 6:a8a82cee2705
- Parent:
- 5:7186da6f562f
diff -r 7186da6f562f -r a8a82cee2705 refGen.h
--- a/refGen.h Sun Oct 22 08:06:37 2017 +0000
+++ b/refGen.h Fri Oct 27 10:37:24 2017 +0000
@@ -7,7 +7,7 @@
class refGen {
public:
refGen(PinName, float); // Constructor sets up the pin to read the reference from
- float getReference(); // Gets reference position on specified pin
+ double getReference(); // Gets reference position on specified pin
float maxAngle;
bool r_direction;