Generates reference based on analog input
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;