Contiki 3.x
pir-sensor.h
1 #ifndef PIR_SENSOR_H_
2 #define PIR_SENSOR_H_
3 
4 #include "lib/sensors.h"
5 
6 extern const struct sensors_sensor pir_sensor;
7 
8 #define PIR_SENSOR "PIR"
9 
10 void pir_sensor_changed(int strength);
11 
12 #endif /* PIR_SENSOR_H_ */