|
Contiki-NG
|
Go to the documentation of this file.
45#include "lib/sensors.h"
50#define PM10_ERROR (-1)
52#define PM10_SENSOR "PM10 Sensor"
53#define PM10_SENSOR_PULSE_DELAY 280
54#define PM10_EXTERNAL_VREF 5000
55#define PM10_EXTERNAL_VREF_CROSSVAL 3000
57#ifdef PM10_SENSOR_CONF_CTRL_PIN
58#define PM10_SENSOR_CTRL_PIN PM10_SENSOR_CONF_CTRL_PIN
60#define PM10_SENSOR_CTRL_PIN 7
62#ifdef PM10_SENSOR_CONF_CTRL_PORT
63#define PM10_SENSOR_CTRL_PORT PM10_SENSOR_CONF_CTRL_PORT
65#define PM10_SENSOR_CTRL_PORT GPIO_A_NUM
68extern const struct sensors_sensor pm10;