Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
29f9d661
Commit
29f9d661
authored
May 30, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整蓝色指示灯与绿色指示灯在有位置灯时亮度降低
parent
1bf2f517
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
6 deletions
+51
-6
Telltales_user.c
source/Application/APP/Telltales/Telltales_user.c
+51
-6
No files found.
source/Application/APP/Telltales/Telltales_user.c
View file @
29f9d661
...
...
@@ -184,6 +184,9 @@ void Test_LED_AllLight(void)
#define LED_BRIGHTNESSG 0x3Fu
#define LED_BRIGHTNESSY 0x3Fu
#define LED_BRIGHTNESSB 0x3Fu
#define LED_BRIGHTNESSGBL 0x08u
#define LED_BRIGHTNESSBBL 0x08u
/******************************************************************************
T3 L16 U1 U4 U5无灯 左右转向单独 气压1 气压2 指示灯是背光
R L5 L6 L7 L8 R1 R3 R4 (R2 水温)
...
...
@@ -356,7 +359,14 @@ void LED_FOUR_MUL_FOUR_T_Execution(uint8_t led_status)
{
if
(
led_status
==
1
)
{
IS31_CHIP0_CHANNEL35
=
LED_BRIGHTNESSG
;
if
(
Line_In_Get_Status
(
LINE_IN_ILLUMINATION
))
{
IS31_CHIP0_CHANNEL35
=
LED_BRIGHTNESSGBL
;
}
else
{
IS31_CHIP0_CHANNEL35
=
LED_BRIGHTNESSG
;
}
SEG_LED_FOUR_MUL_FOUR_T
(
7
);
}
else
...
...
@@ -395,7 +405,14 @@ void LED_EXH_BRAKE_T_Execution(uint8_t led_status)
{
if
(
led_status
==
1
)
{
IS31_CHIP0_CHANNEL34
=
LED_BRIGHTNESSG
;
if
(
Line_In_Get_Status
(
LINE_IN_ILLUMINATION
))
{
IS31_CHIP0_CHANNEL34
=
LED_BRIGHTNESSGBL
;
}
else
{
IS31_CHIP0_CHANNEL34
=
LED_BRIGHTNESSG
;
}
SEG_LED_EXH_BRAKE_T
(
7
);
}
else
...
...
@@ -470,7 +487,14 @@ void LED_HI_BEAM_T_Execution(uint8_t led_status)
{
if
(
led_status
==
1
)
{
IS31_CHIP0_CHANNEL32
=
LED_BRIGHTNESSY
;
if
(
Line_In_Get_Status
(
LINE_IN_ILLUMINATION
))
{
IS31_CHIP0_CHANNEL32
=
LED_BRIGHTNESSBBL
;
}
else
{
IS31_CHIP0_CHANNEL32
=
LED_BRIGHTNESSB
;
}
SEG_LED_HI_BEAM_T
(
7
);
}
else
...
...
@@ -631,7 +655,14 @@ void LED_H_S_A_T_Execution(uint8_t led_status)
}
else
if
(
led_status
==
2u
)
{
IS31_CHIP0_CHANNEL28
=
LED_BRIGHTNESSG
;
/*绿灯 亮*/
if
(
Line_In_Get_Status
(
LINE_IN_ILLUMINATION
))
{
IS31_CHIP0_CHANNEL28
=
LED_BRIGHTNESSGBL
;
/*绿灯 亮*/
}
else
{
IS31_CHIP0_CHANNEL28
=
LED_BRIGHTNESSG
;
/*绿灯 亮*/
}
IS31_CHIP0_CHANNEL29
=
0x00
;
/*黄灯 灭*/
}
else
...
...
@@ -684,7 +715,14 @@ void LED_RETARDER_T_Execution(uint8_t led_status)
}
else
if
(
led_status
==
2u
)
{
IS31_CHIP0_CHANNEL27
=
LED_BRIGHTNESSG
;
/* 绿灯 亮 */
if
(
Line_In_Get_Status
(
LINE_IN_ILLUMINATION
))
{
IS31_CHIP0_CHANNEL27
=
LED_BRIGHTNESSGBL
;
/* 绿灯 亮 */
}
else
{
IS31_CHIP0_CHANNEL27
=
LED_BRIGHTNESSG
;
/* 绿灯 亮 */
}
IS31_CHIP0_CHANNEL26
=
0x00u
;
/* 黄灯 灭 */
}
else
...
...
@@ -1379,7 +1417,14 @@ void LED_eco_stop_OFF_L_Execution(uint8_t led_status)
{
if
(
led_status
==
1
)
{
IS31_CHIP0_CHANNEL12
=
LED_BRIGHTNESSG
;
/* 绿灯 亮 */
if
(
Line_In_Get_Status
(
LINE_IN_ILLUMINATION
))
{
IS31_CHIP0_CHANNEL12
=
LED_BRIGHTNESSGBL
;
/* 绿灯 亮 */
}
else
{
IS31_CHIP0_CHANNEL12
=
LED_BRIGHTNESSG
;
/* 绿灯 亮 */
}
IS31_CHIP0_CHANNEL13
=
0x00u
;
/* 黄灯 灭 */
}
else
if
(
led_status
==
2
)
...
...
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