mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-07 18:25:14 +00:00
Merge pull request #1826 from alignan/pull/crossval-fix
Zoul: fixed voltage divider relationship
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user