osd-contiki/examples/osd/arduino-valve/valve.h
Ralf Schlatterbeck dca85a7b6b Add valve example
Used for gardena valves with 9V power supply.
2017-03-24 20:10:37 +01:00

31 lines
483 B
C

/**
* \defgroup Magnetic Valve
*
* Resource definition for Magnetic valve
*
* @{
*/
/**
* \file
* Resource definitions for the Magnetic valve
*
* \author
* Ralf Schlatterbeck <rsc@tux.runtux.com>
*/
#ifndef valve_h
#define valve_h
#include "contiki.h"
#include "contiki-net.h"
#include "er-coap.h"
#define ENABLE_PIN 2
#define BRIDGE1_PIN 3
#define BRIDGE2_PIN 4
extern uint8_t valve;
extern resource_t res_valve;
#endif // valve_h
/** @} */