Alternating buffers for DMA (works only with optimization)
This commit is contained in:
parent
fe332dea5d
commit
731bba0f0e
8 changed files with 106 additions and 40 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue