initial upload
This commit is contained in:
parent
dfaa8c0f32
commit
0c7328b59d
9 changed files with 329 additions and 0 deletions
30
examples/osd/arduino-roomalert/resource_pir.h
Normal file
30
examples/osd/arduino-roomalert/resource_pir.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
/**
|
||||
* \defgroup Arduino LED PWM example
|
||||
*
|
||||
* Resource definition for Arduino LED PWM module
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file
|
||||
* Resource definitions for the Arduino LED PWM module
|
||||
*
|
||||
* \author
|
||||
* Ralf Schlatterbeck <rsc@tux.runtux.com>
|
||||
*/
|
||||
|
||||
#ifndef pir_h
|
||||
#define pir_h
|
||||
#include "contiki.h"
|
||||
#include "contiki-net.h"
|
||||
#include "erbium.h"
|
||||
#include "er-coap-13.h"
|
||||
|
||||
extern uint8_t pir_pin;
|
||||
extern uint16_t pir_value;
|
||||
|
||||
extern resource_t resource_pir;
|
||||
|
||||
#endif // pir_h
|
||||
/** @} */
|
Loading…
Add table
Add a link
Reference in a new issue