concatenate 2 byte arrayes
hi there
I want to concatenate these 2 byte arrays
uint8_t START_BYTE[2]={0x05,0x64};and
uint8_t disunsini[]={0x15,0x3C,0x02,0x06,0x3C,0x03,0x06,0x3C,0x04,0x06};so I can get
{0x05,0x64,0x15,0x3C,0x02,0x06,0x3C,0x03,0x06,0x3C,0x04,0x06};I used the code below
temp=(START_BYTE<<8)|disunsini;but I get the error
INVALID OPERANDS TO BINARY EXPRESSION (UINT8_T * (AKA UNSIGHED CHAR*) AND INT)
why is that?
