B6 progress

This commit is contained in:
rusefillc 2022-12-25 14:13:01 -05:00
parent d7e461e248
commit ac8e939e20
2 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ static void commonPassatB6() {
}
// MAF, grams per second
// MAF signal frequency after hardware divider x16, Hz
static const float hardCodedFreqBins[] = {139,
152,
180,
@ -143,7 +143,7 @@ static const float hardCodedFreqBins[] = {139,
300,
365};
// MAF signal frequency, KHz
// MAF grams per second
static const float hardCodedGperSValues[] {
3.58,
4.5,

View File

@ -107,7 +107,7 @@ mafCalibrationIndex = findCurveIndex("mafcurve")
function onTick()
freqValue = getSensor("AuxSpeed1") * 16 or 0
freqValue = getSensor("AuxSpeed1") or 0
mafValue = curve(mafCalibrationIndex, 5)
-- print(freqValue .. " mafValue=" .. mafValue)
mafSensor : set(mafValue)