Generates reference based on analog input
Dependents: locomotion_pid_action_refactor_EMG
Diff: refGen.h
- Revision:
- 3:43d9f8db93b7
- Parent:
- 2:35c05e7698f5
- Child:
- 4:38af2aa14a3f
diff -r 35c05e7698f5 -r 43d9f8db93b7 refGen.h --- a/refGen.h Fri Oct 20 12:23:03 2017 +0000 +++ b/refGen.h Fri Oct 20 16:28:30 2017 +0000 @@ -6,8 +6,8 @@ class refGen { public: - refGen(PinName); // Constructor sets up the pin to read the reference from - float getReferencePosition(float maxAngle, bool r_direction); // Gets reference position on specified pin + refGen(PinName, float); // Constructor sets up the pin to read the reference from + float getReferencePosition(); // Gets reference position on specified pin float maxAngle; bool r_direction;