Test the set param mode
Diff: FOC/foc.h
- Revision:
- 26:2b865c00d7e9
- Parent:
- 22:60276ba87ac6
- Child:
- 37:c0f352d6e8e3
diff -r f5741040c4bb -r 2b865c00d7e9 FOC/foc.h --- a/FOC/foc.h Sun Apr 09 03:05:52 2017 +0000 +++ b/FOC/foc.h Mon May 01 15:22:58 2017 +0000 @@ -16,4 +16,5 @@ void zero_current(int *offset_1, int *offset_2); void reset_foc(ControllerStruct *controller); void commutate(ControllerStruct *controller, GPIOStruct *gpio, float theta); +void torque_control(ControllerStruct *controller); #endif