osd-contiki/examples/osd/arduino-ledstringlight/led_pwm.h
2017-11-28 11:04:42 +01:00

35 lines
656 B
C

/**
* \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 led_pwm_h
#define led_pwm_h
#include "contiki.h"
#include "contiki-net.h"
#include "er-coap.h"
extern uint8_t pwm;
extern uint8_t period_100ms;
extern uint16_t analog2_voltage;
extern uint16_t analog5_voltage;
extern resource_t res_led_pwm;
extern resource_t res_led_period;
extern resource_t res_analog2_voltage;
extern resource_t res_analog5_voltage;
#endif // led_pwm_h
/** @} */