![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
asdgas
Dependencies: mbed Eigen FastPWM
Diff: setting.h
- Revision:
- 51:b46bed7fec80
- Parent:
- 50:3c630b5eba9f
- Child:
- 52:8ea76864368a
diff -r 3c630b5eba9f -r b46bed7fec80 setting.h --- a/setting.h Thu Feb 13 05:16:15 2020 +0000 +++ b/setting.h Wed Feb 19 00:44:07 2020 +0000 @@ -6,8 +6,8 @@ #define PIN_W PB_6 //#define PWM_ARR 0x465 // loop 80k, pwm 40k //#define PWM_ARR 0x8CA // loop 40k, pwm 20k -//#define PWM_ARR 0x1194 // loop 20k, pwm 10k -#define PWM_ARR 0x2328 // loop 10k, pwm 5k +#define PWM_ARR 0x1194 // loop 20k, pwm 10k +//#define PWM_ARR 0x2328 // loop 10k, pwm 5k #define TMR3_COUNT 0x4650 // loop 5k #define TMR2_COUNT 0x2710 // loop 500hz with prescale 18