#define lineMask 0xFFFF //using all port B pins excepting the first two as data lines #define nlines 13 #define height 100 #define width 40 #define ledLen height*width #define len 320 #define PIN PORTBbits.RB0 extern unsigned char c[3][ledLen]; extern int getPixelIndex(int x, int y); extern void ws2812MultiInit(); extern void ws2812MultiReset(); extern void ws2812MultiSend();