Contiki 2.5
button-sensor.h
1 #ifndef __BUTTON_SENSOR_H__
2 #define __BUTTON_SENSOR_H__
3 
4 #include "lib/sensors.h"
5 
6 extern const struct sensors_sensor button_sensor;
7 
8 #define BUTTON_SENSOR "Button"
9 
10 void button_press(void);
11 
12 #endif /* __BUTTON_SENSOR_H__ */