From 785120b60ea22376a746d0e84d8b99e9c8871367 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 5 Feb 2024 23:15:17 -0500 Subject: [PATCH] HD --- digital-inputs/firmware/test_logic.cpp | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/digital-inputs/firmware/test_logic.cpp b/digital-inputs/firmware/test_logic.cpp index 0e217fe3..f64356f0 100644 --- a/digital-inputs/firmware/test_logic.cpp +++ b/digital-inputs/firmware/test_logic.cpp @@ -267,6 +267,37 @@ BoardConfig boardConfigs[] = { }, .wboUnitsCount = 1, }, + { + .boardName = "hd", + .desiredEngineConfig = -1, + .boardIds = { STATIC_BOARD_ID_PROTEUS_HARLEY, STATIC_BOARD_ID_HELLEN_HD, 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) }, + { "CLT", 1.0f, CLT_VALUE(HELLEN_R) * ANALOG_L, CLT_VALUE(HELLEN_R) * ANALOG_H }, + { "IAT", 1.0f, IAT_VALUE(HELLEN_R) * ANALOG_L, IAT_VALUE(HELLEN_R) * ANALOG_H }, + { "BATT", HELLEN_VBATT_MULT, 9.0f, 15.0f }, + + { nullptr, 0, 0, 0 }, // { "TPS2_1", 1.0f, 0.5f * ANALOG_L, 0.5f * ANALOG_H }, + { nullptr, 0, 0, 0 }, // { "TPS2_2", 1.0f, 0.5f * ANALOG_L, 0.5f * ANALOG_H }, + { nullptr, 0, 0, 0 },//{ "AUXL1", 1.0f, 1.35f * ANALOG_L, 1.35f * ANALOG_H }, + { nullptr, 0, 0, 0 },//{ "AUXL2", 1.0f, 2.23f * ANALOG_L, 2.23f * ANALOG_H }, + }, + .eventExpected = {/*crank*/true, + false, + /*cam1*/true, + false, false, false, + /*vss*/false}, + .buttonExpected = {false, false, false}, + .outputNames = { + "Injector 2", + "Injector 1", + }, + .wboUnitsCount = 2, + }, { .boardName = "112-17", .desiredEngineConfig = -1,