From 3e7e105743960bdfce80f5ee7b29aecc48406d6f Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Fri, 10 Apr 2009 17:47:57 +0200 Subject: pressure_control: Calibrate sensor Signed-off-by: Michael Buesch --- pressure_control/firmware/sensor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pressure_control/firmware/sensor.c b/pressure_control/firmware/sensor.c index 4ec0b3b..475cc6e 100644 --- a/pressure_control/firmware/sensor.c +++ b/pressure_control/firmware/sensor.c @@ -29,11 +29,11 @@ /* The sensor value offset, in millivolts. * This value is subtracted from the measured voltage before * processing. */ -#define SENSOR_MV_OFFSET 200 +#define SENSOR_MV_OFFSET 245 /* The Full Scale Output (maximum) output value of the sensor, * in millivolts. */ -#define SENSOR_FULL_SCALE_MV U32(4700) +#define SENSOR_FULL_SCALE_MV U32(4400) /* The pressure at Full Scale Output, in millibar. */ #define SENSOR_FULL_SCALE_MBAR U32(10000) -- cgit v1.2.3