200k
//PWM1
PWMPERDL1=0xb3;
PWMPERDH1= 0x00;
PWMCCNTL1=0x6B;
PWMCCNTH1= ;
PWMDBDY1=0x2B; //死区延时计时器
//PWM0
PWMPERDL0=pwm_per_L ;
PWMPERDH0=pwm_per_H ;
PWMCCNTL0=0x6B ;
PWMCCNTH0=0x00 ;
PWMDBDY0=0x2B; //死区延时计时器
500k
2024-03-26 15:13:04
200k
//PWM1
PWMPERDL1=0xb3;
PWMPERDH1= 0x00;
PWMCCNTL1=0x6B;
PWMCCNTH1= ;
PWMDBDY1=0x2B; //死区延时计时器
//PWM0
PWMPERDL0=pwm_per_L ;
PWMPERDH0=pwm_per_H ;
PWMCCNTL0=0x6B ;
PWMCCNTH0=0x00 ;
PWMDBDY0=0x2B; //死区延时计时器
500k