aboutsummaryrefslogtreecommitdiff
path: root/software/effects.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-11-24 22:29:50 +0100
committerlonkaars <loek@pipeframe.xyz>2021-11-24 22:29:50 +0100
commitda48b3b203c9bda793cd0deed9dbd05db813d3ce (patch)
tree27d9a66155ebb7e6e077afec37c6ef78d10b60f0 /software/effects.h
parent15f3bd72a5ee2429616c3a09c349679face715eb (diff)
software
Diffstat (limited to 'software/effects.h')
-rw-r--r--software/effects.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/software/effects.h b/software/effects.h
index e69de29..04a878a 100644
--- a/software/effects.h
+++ b/software/effects.h
@@ -0,0 +1,13 @@
+#pragma once
+
+// configuratie opties voor de 'diavoorstelling' van de effecten
+#define SLIDESHOW_SIZE (int) 1
+#define SLIDESHOW_DURATION (int) 5e3
+
+// definition of done voor sprint 3
+void fx_roundabout (unsigned long relative_time, bool (*leds)[64]);
+void fx_wipexyz (unsigned long relative_time, bool (*leds)[64]);
+void fx_rainfall (unsigned long relative_time, bool (*leds)[64]);
+
+// evil function pointer array
+extern void ( * slideshow_effects [SLIDESHOW_SIZE] )( unsigned long relative_time, bool (*leds)[64] );