28 lines
474 B
C
28 lines
474 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
|
|
|
|
//8x8 Matrix
|
|
|
|
#define HOSTNAME "pixelprojektor"
|
|
#define NODENAME "pixel"
|
|
#define WIDTH 8 //WIDTH is along consecutive pixels
|
|
#define HEIGHT 8
|
|
#define NUMPIXELS 64 // 8x8 Matrix
|
|
#define NUMDOTS numPixels() //dots equals num pixels
|
|
|
|
|
|
//3x6 LED Box
|
|
/*
|
|
#define HOSTNAME "ledbox"
|
|
#define NODENAME "pixel"
|
|
#define LEDBOX3X6
|
|
#define WIDTH 3
|
|
#define HEIGHT 6
|
|
#define NUMPIXELS 36 // 3x6 LED Box, 2pixels per box
|
|
#define NUMDOTS 18
|
|
*/
|
|
|
|
#endif
|