I'm using Arduino 1.0
My issue is in a header file being included from my .ino file. This macro works properly in the .ino file and I can't figure out why its not working in the header file.
#define BIT_SET(p,b) (p |= (1<<b)) // heres the usage of the macro BIT_SET(CMD_LEDS, SET_ADVANCE_LED);
COI.h:281: error: lvalue required as left operand of assignment
EDIT: I'm an idiot and was trying to set a bit on a defined value...