summaryrefslogtreecommitdiff
path: root/led.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2019-12-09 02:21:54 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2019-12-09 02:21:54 -0800
commitd100c4e0afdab9a880648a1185106e6962f56f1a (patch)
treec0ddca12054d39ab69abdddd0906399eed006ec7 /led.h
parent117e34641f0804938e9a199380e6d7529b9b11b5 (diff)
downloadchristmas_lights-d100c4e0afdab9a880648a1185106e6962f56f1a.tar.gz
christmas_lights-d100c4e0afdab9a880648a1185106e6962f56f1a.tar.xz
cleanup and various improvements
Diffstat (limited to 'led.h')
-rw-r--r--led.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/led.h b/led.h
new file mode 100644
index 0000000..585f297
--- /dev/null
+++ b/led.h
@@ -0,0 +1,9 @@
+struct colour {
+ unsigned char r, g, b;
+};
+
+void signal_bit_0();
+void signal_bit_1();
+void signal_byte(unsigned char);
+void signal_led(struct colour *);
+void signal_led_sequence(int, struct colour *, int, int, int);