diff options
author | Karel Kočí <cynerd@email.cz> | 2019-03-06 22:36:22 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-03-06 22:40:31 +0100 |
commit | a1236a39e7842ed24b3a9c986dba177d02be5114 (patch) | |
tree | 127ee3ce519961c627fd14e9850e553b502a0205 /control/state.c | |
parent | fe2ce269997dcc23f5eac51ee64e2d06570bf6d4 (diff) | |
download | bigclown-leds-a1236a39e7842ed24b3a9c986dba177d02be5114.tar.gz bigclown-leds-a1236a39e7842ed24b3a9c986dba177d02be5114.tar.bz2 bigclown-leds-a1236a39e7842ed24b3a9c986dba177d02be5114.zip |
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.
Diffstat (limited to 'control/state.c')
-rw-r--r-- | control/state.c | 11 |
1 files changed, 11 insertions, 0 deletions
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; |