Skip to content

error: invalid conversion from 'long int' to 'LssColors' [-fpermissive]  #4

Description

@ChealsieBains01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions