2 #include "dev/pir-sensor.h"
4 const struct sensors_sensor pir_sensor;
10 pir_sensor_changed(
int strength)
12 pir_value += strength;
13 sensors_changed(&pir_sensor);
23 configure(
int type,
void *c)
34 SENSORS_SENSOR(pir_sensor, PIR_SENSOR,
35 value, configure, status);