Mini Cheetah Actuator Branch Superseded by: https://github.com/bgkatz/motorcontrol
Dependencies: mbed-dev-f303 FastPWM3
Superseded by: https://github.com/bgkatz/motorcontrol
hw_setup.h@56:fe5056ac6740, 2019-10-10 (annotated)
- Committer:
- benkatz
- Date:
- Thu Oct 10 15:03:12 2019 +0000
- Revision:
- 56:fe5056ac6740
- Parent:
- 20:bf9ea5125d52
fixed position-sensor turn-on weirdness; ; improved output zeroing to work independent of encoder rollover angle
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 |