Commit 6635145e authored by 李俭双's avatar 李俭双

43727,【天鹰TY100】【亮度】时间亮度相较于其他地方较暗,响应慢

parent 41d98451
...@@ -354,13 +354,13 @@ void SEG_SET_Navigation_STS(uint8_t m_Flag, uint8_t m_Code, uint32_t m_Mileage) ...@@ -354,13 +354,13 @@ void SEG_SET_Navigation_STS(uint8_t m_Flag, uint8_t m_Code, uint32_t m_Mileage)
IC2_SEG162 = IC_SEG_ON; IC2_SEG162 = IC_SEG_ON;
IC2_SEG161 = IC_SEG_ON; IC2_SEG161 = IC_SEG_ON;
IC2_SEG160 = IC_SEG_ON; IC2_SEG160 = IC_SEG_ON;
LED_Driver_Channel_Set(LampChannel_0, LampCh0_10_Navigator1, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_10_Navigator1, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_19_Navigator2, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_19_Navigator2, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_17_Length2, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_17_Length2, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_18_Length1, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_18_Length1, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_14_ARRIVED_SERVICE_AREA, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_14_ARRIVED_SERVICE_AREA, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_15_ARRIVED_TOLLGATE, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_15_ARRIVED_TOLLGATE, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_16_ARRIVED_TUNNEL, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_16_ARRIVED_TUNNEL, LED_ON);
} }
else else
{ {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
#define LED_ON 100 #define LED_ON 186
#define LED_OFF 0 #define LED_OFF 0
#define LED_LINEOUT_Low 0 #define LED_LINEOUT_Low 0
#define LED_LINEOUT_High 1 #define LED_LINEOUT_High 1
......
...@@ -64,6 +64,7 @@ static void Power_KL30_Init(void) ...@@ -64,6 +64,7 @@ static void Power_KL30_Init(void)
Key_KL30_Init_EXample(); Key_KL30_Init_EXample();
//Light_Sensor_Init_Example();//注意顺序1 //Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example();//注意顺序2 LED_Driver_Init_Example();//注意顺序2
LED_Driver_Service_Immediate();
Data_User_Mileage_KL30Init(); Data_User_Mileage_KL30Init();
Fuel_KL30_Init(); Fuel_KL30_Init();
Data_Voltage_Init(); Data_Voltage_Init();
...@@ -112,6 +113,7 @@ static void Power_Wakeup_Init(void) ...@@ -112,6 +113,7 @@ static void Power_Wakeup_Init(void)
MenuData_TCS_Init(); MenuData_TCS_Init();
//Light_Sensor_Init_Example();//注意顺序1 //Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example();//注意顺序2 LED_Driver_Init_Example();//注意顺序2
LED_Driver_Service_Immediate();
Protocol_KL30_Wakeup_Init(); Protocol_KL30_Wakeup_Init();
Uart0_Init(115200); Uart0_Init(115200);
BlueTooth_KL30_KL15_Wakeup_Init(); BlueTooth_KL30_KL15_Wakeup_Init();
......
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