Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TY
TianYing_ty100
Commits
6635145e
Commit
6635145e
authored
May 29, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
43727,【天鹰TY100】【亮度】时间亮度相较于其他地方较暗,响应慢
parent
41d98451
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+7
-7
LED_Driver_Interface.h
Firmware/Source/Component/LED_Driver/LED_Driver_Interface.h
+1
-1
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+2
-0
No files found.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
6635145e
...
...
@@ -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_SEG161
=
IC_SEG_ON
;
IC2_SEG160
=
IC_SEG_ON
;
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_10_Navigator1
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_19_Navigator2
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_17_Length2
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_18_Length1
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_14_ARRIVED_SERVICE_AREA
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_15_ARRIVED_TOLLGATE
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_16_ARRIVED_TUNNEL
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_10_Navigator1
,
LED_O
N
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_19_Navigator2
,
LED_O
N
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_17_Length2
,
LED_O
N
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_18_Length1
,
LED_O
N
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_14_ARRIVED_SERVICE_AREA
,
LED_O
N
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_15_ARRIVED_TOLLGATE
,
LED_O
N
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_16_ARRIVED_TUNNEL
,
LED_O
N
);
}
else
{
...
...
Firmware/Source/Component/LED_Driver/LED_Driver_Interface.h
View file @
6635145e
...
...
@@ -3,7 +3,7 @@
/*-----------------------------------------------------------*/
#define LED_ON 1
00
#define LED_ON 1
86
#define LED_OFF 0
#define LED_LINEOUT_Low 0
#define LED_LINEOUT_High 1
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
6635145e
...
...
@@ -64,6 +64,7 @@ static void Power_KL30_Init(void)
Key_KL30_Init_EXample
();
//Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example
();
//注意顺序2
LED_Driver_Service_Immediate
();
Data_User_Mileage_KL30Init
();
Fuel_KL30_Init
();
Data_Voltage_Init
();
...
...
@@ -112,6 +113,7 @@ static void Power_Wakeup_Init(void)
MenuData_TCS_Init
();
//Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example
();
//注意顺序2
LED_Driver_Service_Immediate
();
Protocol_KL30_Wakeup_Init
();
Uart0_Init
(
115200
);
BlueTooth_KL30_KL15_Wakeup_Init
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment