From da48b3b203c9bda793cd0deed9dbd05db813d3ce Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 24 Nov 2021 22:29:50 +0100 Subject: software --- software/effects.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'software/effects.h') 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] ); -- cgit v1.2.3