From 55b34949dc2bd656c0172f597b913eb5e831d247 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Tue, 18 Dec 2012 22:51:58 +0100 Subject: digital/beacon: add color management --- digital/beacon/src/misc.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'digital/beacon/src/misc.h') diff --git a/digital/beacon/src/misc.h b/digital/beacon/src/misc.h index faa6ca7a..c5a6f129 100644 --- a/digital/beacon/src/misc.h +++ b/digital/beacon/src/misc.h @@ -26,6 +26,9 @@ #ifndef _MISC_H #define _MISC_H +#define COLOR_LEFT 1 +#define COLOR_RIGHT 0 + /* This function resets the avr using the embedded watchdog */ void reset_avr(void); @@ -35,4 +38,10 @@ void jack_on_off(void); /* This function sends the jack status to the slave beacons*/ void jack_update_status(uint8_t value); +void color_set_value(uint8_t value); + +uint8_t color_get_value(void); + + + #endif -- cgit v1.2.3