Skip to content

Commit

Permalink
M73
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed May 4, 2024
1 parent e14e946 commit 54a34f5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions digital-inputs/firmware/test_logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,15 @@ BoardConfig boardConfigs[] = {
{
.boardName = "M73",
.desiredEngineConfig = -1,
.boardIds = { (STATIC_BOARD_ID_BASE + 52), 0 },
// .boardIds = { STATIC_BOARD_ID_PROTEUS_M73, 0 },
.boardIds = { STATIC_BOARD_ID_PROTEUS_M73, 0 },
.channels = {
{ "TPS1_1", PULLED_DOWN_RANGE(DOWN_7B, UP_7B, 680'000) },
{ "TPS1_2", 1, 0.767938368, /* ideally 0.860549952*/ 0.87 },
{ "PPS1", 1, 0.79 /*0.821830144*/, 0.920940928 },
{ "PPS2", PULLED_DOWN_RANGE(DOWN_11B, UP_11B, 680'000) },

{ "MAP", PULLED_DOWN_RANGE(DOWN_8B, UP_8B, 680'000) },
// skipping for now
{ nullptr, 0, 0, 0 }, // skipping for Proteus
// { "CLT", 1.0f, CLT_VALUE(PROTEUS_R) * ANALOG_L, CLT_VALUE(PROTEUS_R) * ANALOG_H },
{ "CLT", 1.0f, CLT_VALUE(PROTEUS_R) * ANALOG_L, CLT_VALUE(PROTEUS_R) * ANALOG_H },
{ "IAT", 1.0f, IAT_VALUE(PROTEUS_R) * ANALOG_L, IAT_VALUE(PROTEUS_R) * ANALOG_H },
{ "BATT", PROTEUS_VBATT_MULT, 9.0f, 15.0f },

Expand All @@ -277,9 +274,10 @@ BoardConfig boardConfigs[] = {
{ nullptr, 0, 0, 0 },
{ nullptr, 0, 0, 0 },
},
/* crank neg goes to https://rusefi.com/docs/pinouts/stim/?connector=main&pin=24C 2.5v source, crank positive 22B with a 4.7K pull up */
.eventExpected = {/*crank*/true,
false,
/*cam1*/false,
/*cam1*/true,
false, false, false,
/*vss*/false},
.buttonExpected = {false, false, false},
Expand Down

0 comments on commit 54a34f5

Please sign in to comment.