Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
hw_setup.h@59:568e7be5232f, 2020-06-29 (annotated)
- Committer:
- annhandt09
- Date:
- Mon Jun 29 09:36:26 2020 +0000
- Revision:
- 59:568e7be5232f
- Parent:
- 20:bf9ea5125d52
add controller.p_des = controller.theta_mech - (controller.t_ff / controller.kp) ; for first enable.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 20:bf9ea5125d52 | 1 | #ifndef HW_SETUP_H |
benkatz | 20:bf9ea5125d52 | 2 | #define HW_SETUP_H |
benkatz | 20:bf9ea5125d52 | 3 | |
benkatz | 20:bf9ea5125d52 | 4 | #include "mbed.h" |
benkatz | 20:bf9ea5125d52 | 5 | #include "structs.h" |
benkatz | 20:bf9ea5125d52 | 6 | |
benkatz | 20:bf9ea5125d52 | 7 | void Init_PWM(GPIOStruct *gpio); |
benkatz | 20:bf9ea5125d52 | 8 | void Init_ADC(void); |
benkatz | 20:bf9ea5125d52 | 9 | void Init_DAC(void); |
benkatz | 20:bf9ea5125d52 | 10 | void Init_All_HW(GPIOStruct *gpio); |
benkatz | 20:bf9ea5125d52 | 11 | |
benkatz | 20:bf9ea5125d52 | 12 | #endif |