I'm trying to run the write example on my arduino MKR1000 board and I get this error while trying to compile:
error: invalid conversion from 'long int' to 'LssColors' [-fpermissive]
#define DISPATCH(bit, member) if ((cmd & bit)>0) { member = pkt.value; mask.completed |= bit; }
Note that I've changed the Serial port to Serial1:
#define LSS_SERIAL_PORT Serial1