fome-fw/firmware/controllers/sensors/maf2map.cpp

18 lines
504 B
C++

/*
* @file maf2map.cpp
*
* @author Andrey Belomutskiy, (c) 2012-2018
* @date Jan 20, 2018
*/
#define ASIZE 16
/* rpm bins */
static const float rpmBins[ASIZE] = {500.0, 1000.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0, 8000.0};
static const float voltageBins[ASIZE] = {0.200000, 0.490000, 0.770000, 1.060000, 1.350000, 1.630000, 1.920000, 2.210000, 2.490000, 2.780000, 3.070000, 3.350000, 3.640000, 3.930000, 4.210000, 4.500000};