Zoul: fixed voltage divider relationship

This commit is contained in:
Antonio Lignan 2016-08-16 14:24:13 +02:00
parent 3550d43b47
commit 0a02f0ac7c
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@
#define ADC_WRAPPER_SUCCESS 0x00
#define ADC_WRAPPER_ERROR (-1)
#define ADC_WRAPPER_EXTERNAL_VREF 5000
#define ADC_WRAPPER_EXTERNAL_VREF_CROSSVAL 3300
#define ADC_WRAPPER_EXTERNAL_VREF_CROSSVAL 3000
/*---------------------------------------------------------------------------*/
#define ANALOG_GROVE_LIGHT 0x01
#define ANALOG_PHIDGET_ROTATION_1109 0x02

View file

@ -52,7 +52,7 @@
#define PM10_SENSOR "PM10 Sensor"
#define PM10_SENSOR_PULSE_DELAY 280
#define PM10_EXTERNAL_VREF 5000
#define PM10_EXTERNAL_VREF_CROSSVAL 3300
#define PM10_EXTERNAL_VREF_CROSSVAL 3000
/* -------------------------------------------------------------------------- */
#ifdef PM10_SENSOR_CONF_CTRL_PIN
#define PM10_SENSOR_CTRL_PIN PM10_SENSOR_CONF_CTRL_PIN