Hi all, Well, I've finally found a bit of time to come back to my C projects, after a few months away. And boy...a few months makes a huge difference. I feel like I'm once again swinging in the dark. I'm struggling with this snippet of code: if(testbit(this_led, 23)) { // test fixed bit 23 SSP2BUF =3D ws2811_one; } else { SSP2BUF =3D ws2811_zero; } I'm including the whole snippet even though it's just the assignment lines (SSP2BUF=3D XXX) that cause the error on their own. I get these errors when I try to compile: ws2812_lib.c:45: error: (192) undefined identifier "b" ws2812_lib.c:45: error: (226) char const too long ws2812_lib.c:45: error: (195) expression syntax They are repeated twice, once per line above. The two constants are defined as 8 bits long. Any thoughts? I've been staring at this one too long. Josh --=20 A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .