Import of the contiki-2.x development code from the SICS internal CVS server
This commit is contained in:
commit
c9e808d638
671 changed files with 95332 additions and 0 deletions
12
platform/netsim/dev/button-sensor.h
Normal file
12
platform/netsim/dev/button-sensor.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef __BUTTON_SENSOR_H__
|
||||
#define __BUTTON_SENSOR_H__
|
||||
|
||||
#include "lib/sensors.h"
|
||||
|
||||
extern const struct sensors_sensor button_sensor;
|
||||
|
||||
#define BUTTON_SENSOR "Button"
|
||||
|
||||
void button_press(void);
|
||||
|
||||
#endif /* __BUTTON_SENSOR_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue