Commit 0007ebf4 authored by 王佳伟's avatar 王佳伟

🐞 fix:调整夜间日间背光PWM

parent 68ad56c7
......@@ -127,7 +127,7 @@ void Data_Light_Res_service(Light_uint8_t deltaTime)//获取光感阻值,并
{
LightR_Status_Count = 0 ;
}
TimerM_PWM_set_duty(TIMERM_COUNTER1, TIMERM_CHB, 800);
TimerM_PWM_set_duty(TIMERM_COUNTER1, TIMERM_CHB, 200);
}
else
{
......@@ -139,7 +139,7 @@ void Data_Light_Res_service(Light_uint8_t deltaTime)//获取光感阻值,并
{
LightR_Status_Count = 0 ;
}
TimerM_PWM_set_duty(TIMERM_COUNTER1, TIMERM_CHB, 200);
TimerM_PWM_set_duty(TIMERM_COUNTER1, TIMERM_CHB, 800);
}
if(LightR_Status_Count>=150)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment