Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
93f000e6
Commit
93f000e6
authored
Jun 30, 2025
by
梁百峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:关闭需要储存的功能
parent
8d531143
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
R485_Communication_Matrix.c
...est_bench/source/Appliciation/R485_Communication_Matrix.c
+9
-1
R485_Communication_Matrix.h
...est_bench/source/Appliciation/R485_Communication_Matrix.h
+1
-1
No files found.
YueJin_test_bench/source/Appliciation/R485_Communication_Matrix.c
View file @
93f000e6
...
...
@@ -60,6 +60,9 @@ uint32_t R485_Send_0x41(void)
R485_ID41h
.
Sig
.
IOTRealTime_Year
=
0x1
;
//时间:年
R485_ID41h
.
Sig
.
IOTRealTime_Month
=
0x1
;
//时间:月
R485_ID41h
.
Sig
.
IOTRealTime_Day
=
0x1
;
//时间:日
R485_ID41h
.
Sig
.
MetricImperialSetting
=
0
;
R485_ID41h
.
Sig
.
EleHeadlightFunctionSettings
=
0
;
R485_ID41h
.
Sig
.
RemainingMileageDisplaySettings
=
0
;
switch
(
MENU_CHECK_STEP
)
{
case
0
:
...
...
@@ -219,7 +222,7 @@ uint32_t R485_Send_0x41(void)
R485_ID41h
.
Sig
.
ICMCalculatesVehicleSpeed
=
0xFFFE
;
//速度 = (X * 0.512 * 3.14 * 1.05) / 30 22km
R485_ID41h
.
Sig
.
TotalBatterySOC
=
0x2C
;
//电量
R485_ID41h
.
Sig
.
VehicleStatus
=
0x
3
;
//整车状态
R485_ID41h
.
Sig
.
VehicleStatus
=
0x
2
;
//整车状态
R485_ID41h
.
Sig
.
SpeedGear
=
0x1
;
//挡位
R485_ID41h
.
Sig
.
TotalBatteryVoltage
=
0x5E
;
//总电池电压
...
...
@@ -249,6 +252,10 @@ uint32_t R485_Send_0x41(void)
R485_ID41h
.
Sig
.
MCUOverTempProtection
=
0
;
R485_ID41h
.
Sig
.
MotorOvertempProtection
=
0
;
R485_ID41h
.
Sig
.
RotorLocked
=
0
;
R485_ID41h
.
Sig
.
MetricImperialSetting
=
0
;
R485_ID41h
.
Sig
.
EleHeadlightFunctionSettings
=
0
;
R485_ID41h
.
Sig
.
RemainingMileageDisplaySettings
=
0
;
}
else
{
...
...
@@ -720,6 +727,7 @@ uint32_t R485_Send_0x42(void)
R485_ID42h
.
Sig
.
BLE_MAC04
=
0xA
;
R485_ID42h
.
Sig
.
BLE_MAC05
=
0xA
;
R485_ID42h
.
Sig
.
BLE_MAC06
=
0xA
;
R485_ID42h
.
Sig
.
EggAnimation
=
0
;
switch
(
MENU_CHECK_STEP
)
{
case
0
:
...
...
YueJin_test_bench/source/Appliciation/R485_Communication_Matrix.h
View file @
93f000e6
...
...
@@ -900,7 +900,7 @@ typedef union
uint8_t
:
8
;
/* 47预留 */
uint8_t
:
8
;
/* 48预留 */
uint8_t
:
8
;
/* 49预留 */
uint8_t
:
8
;
/* 50预留 */
uint8_t
EggAnimation
:
8
;
/* 50预留 */
uint8_t
:
8
;
/* 51预留 */
uint8_t
:
8
;
/* 52预留 */
uint8_t
:
8
;
/* 53预留 */
...
...
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