This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2014-04-15 07:28:48 +00:00
|
|
|
#ifndef BREATHING_LED_H
|
|
|
|
#define BREATHING_LED_H
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef BREATHING_LED_ENABLE
|
|
|
|
|
|
|
|
void breathing_led_init(void);
|
|
|
|
void breathing_led_enable(void);
|
|
|
|
void breathing_led_disable(void);
|
|
|
|
void breathing_led_toggle(void);
|
2014-04-18 05:33:57 +00:00
|
|
|
void breathing_led_set_duration(uint8_t dur);
|
|
|
|
void breathing_led_set_raw(uint8_t raw);
|
2014-04-15 07:28:48 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define breathing_led_init()
|
|
|
|
#define breathing_led_enable()
|
|
|
|
#define breathing_led_disable()
|
|
|
|
#define breathing_led_toggle()
|
2014-04-18 05:33:57 +00:00
|
|
|
#define breathing_led_set_duration()
|
|
|
|
#define breathing_led_set_raw()
|
2014-04-15 07:28:48 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|