summaryrefslogtreecommitdiff
path: root/digital/beacon/src/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/misc.h')
-rw-r--r--digital/beacon/src/misc.h9
1 files changed, 9 insertions, 0 deletions
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