Hi all, While I compiled the code, I got a message as shown
below:
CAN_LPC1857.c(167): error: #29: expected an expression
The compiled code is :
uint8_t i;
uint8_t tx_data[8];
tx_data[] = {01, 02, 03, 04, 05, 06, 07, 08};
for(i=0; i<7;i++)
{
ptrCAN->MessageSend(tx_obj_idx, &tx_msg_info, tx_data[i], 8U);
}
Can anybody help me in this flow.
↧