Modified ADC measurement of PM10 driver to include adc-zoul direct access

This commit is contained in:
Toni Lozano 2016-01-26 14:08:17 +01:00
parent 8337843d69
commit 1f6dafecb0
5 changed files with 32 additions and 17 deletions

View file

@ -51,6 +51,8 @@
#define PM10_SUCCESS 0
#define PM10_SENSOR "PM10 Sensor"
#define PM10_SENSOR_PULSE_DELAY 280
#define PM10_EXTERNAL_VREF 5000
#define PM10_EXTERNAL_VREF_CROSSVAL 3300
/* -------------------------------------------------------------------------- */
#ifdef PM10_SENSOR_CONF_CTRL_PIN
#define PM10_SENSOR_CTRL_PIN PM10_SENSOR_CONF_CTRL_PIN