Merge pull request #1826 from alignan/pull/crossval-fix

Zoul: fixed voltage divider relationship
This commit is contained in:
Antonio Lignan 2016-08-17 17:33:07 +02:00 committed by GitHub
commit 6947fc7381
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