RGB matrix Panel
Macros
RGBmatrixPanel.cpp File Reference
#include "RGBmatrixPanel.h"
#include "gamma.h"

Macros

#define _swap_int16_t(a, b)
 16-bit var swap More...
 
#define DATAPORT   PORTD
 RGB data PORT register.
 
#define DATADIR   DDRD
 RGB data direction register.
 
#define CLKPORT   PORTB
 RGB clock PORT register.
 
#define nPlanes   4
 Bit depth per R,G,B (4 = (2^4)^3 = 4096 colors)
 

Macro Definition Documentation

◆ _swap_int16_t

#define _swap_int16_t (   a,
 
)
Value:
{ \
int16_t t = a; \
a = b; \
b = t; \
}

16-bit var swap