mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-08 23:08:29 +00:00
15 lines
249 B
C
15 lines
249 B
C
#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);
|
|
|
|
#define PIR_ENABLE_EVENT 1
|
|
|
|
#endif /* __PIR_SENSOR_H__ */
|