Alternating buffers for DMA (works only with optimization)

This commit is contained in:
Attila Body 2020-12-01 14:35:47 +01:00
parent fe332dea5d
commit 731bba0f0e
8 changed files with 106 additions and 40 deletions

View file

@ -13,11 +13,13 @@
#ifndef DBG_CHOSEN_PIXEL
# define NUMPIXELS 144
# define NUMSPARKLES (NUMPIXELS/12+1)
# define FRAMETIME 20
#else
# define NUMPIXELS 6
# define NUMSPARKLES 1
# define FRAMETIME 1
#endif
#define FRAMETIME 20
#define DEFAULT_COLOR 0,0,0
#define DEFAULT_COLOR 63,63,63
#define SPIBUFFER_PIXELS 2
#endif /* CONFIG_H_ */