20 lines
344 B
C
20 lines
344 B
C
/*
|
|
* LedBuffers.h
|
|
*
|
|
* Created on: Dec 16, 2018
|
|
* Author: abody
|
|
*/
|
|
|
|
#ifndef LEDBUFFERS_H_
|
|
#define LEDBUFFERS_H_
|
|
|
|
#include "Config.h"
|
|
#include "Pixel.h"
|
|
|
|
extern pixel_t g_pixels[NUMPIXELS];
|
|
|
|
#define SPIBUFFER_SIZE (SPIBUFFER_PIXELS * sizeof(pixel_t) * 8 / 2)
|
|
|
|
extern uint8_t g_spibuffer[2][SPIBUFFER_SIZE];
|
|
|
|
#endif /* LEDBUFFERS_H_ */
|