blob: cef66f23ec85afdf2a1cc296377d8b8e205c84fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
// slideshow config
#define SLIDESHOW_SIZE (int) 2
#define SLIDESHOW_DURATION (int) 5e3
// definition of done 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] );
|