From a1236a39e7842ed24b3a9c986dba177d02be5114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 6 Mar 2019 22:36:22 +0100 Subject: Implement gui and fix rainbow selection For some reason when I use " in payload it is not send. I have no idea why but it is just probably some bug in bigclown. --- control/state.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 control/state.c (limited to 'control/state.c') diff --git a/control/state.c b/control/state.c new file mode 100644 index 0000000..fece172 --- /dev/null +++ b/control/state.c @@ -0,0 +1,11 @@ +#include "state.h" + +enum led_mode mode; + +const unsigned brightness_max = 8; +unsigned brightness = 8; + +int enabled = 0; + + +enum state state = STATE_DEFAULT; -- cgit v1.2.3