Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: error #29 (2 Replies)

$
0
0
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.

Viewing all articles
Browse latest Browse all 3049

Trending Articles