![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LIGHT2
Diff: setting.h
- Revision:
- 22:966b35691d69
- Parent:
- 20:806196fda269
- Child:
- 23:59218d4a256d
diff -r e5f1a43ea6f9 -r 966b35691d69 setting.h --- a/setting.h Mon Sep 09 10:10:31 2019 +0000 +++ b/setting.h Mon Sep 09 10:41:16 2019 +0000 @@ -9,7 +9,8 @@ //#define PWM_ARR 0x1194 // loop 20k, pwm 10k #define PWM_ARR 0x2328 // loop 10k, pwm 5k #define TMR3_COUNT 0x4650 // loop 5k -#define TMR5_COUNT 0x2710 // loop 500hz with prescale 18 +//#define TMR5_COUNT 0x2710 // loop 500hz with prescale 18 +#define TMR5_COUNT 0x4650 #define FREQ_500 500.0 #define FREQ_5k 5000.0