contiki/platform/netsim/dev/pir-sensor.h

15 lines
249 B
C
Raw Normal View History

#ifndef __PIR_SENSOR_H__
#define __PIR_SENSOR_H__
#include "lib/sensors.h"
extern const struct sensors_sensor pir_sensor;
#define PIR_SENSOR "PIR"
void pir_sensor_changed(int strength);
2006-10-10 15:58:31 +00:00
#define PIR_ENABLE_EVENT 1
#endif /* __PIR_SENSOR_H__ */