Contiki 2.6

pir-sensor.h

00001 #ifndef __PIR_SENSOR_H__
00002 #define __PIR_SENSOR_H__
00003 
00004 #include "lib/sensors.h"
00005 
00006 extern const struct sensors_sensor pir_sensor;
00007 
00008 #define PIR_SENSOR "PIR"
00009 
00010 void pir_sensor_changed(int strength);
00011 
00012 #endif /* __PIR_SENSOR_H__ */