bianchi77
Advanced Member level 4
- Joined
- Jun 11, 2009
- Messages
- 1,313
- Helped
- 21
- Reputation
- 44
- Reaction score
- 20
- Trophy points
- 1,318
- Location
- California
- Activity points
- 9,442
Guys,
I tried to use unsigned char below, but I got error, how can I fix it ?
Thank you
I tried to use unsigned char below, but I got error, how can I fix it ?
Code:
const unsigned char data[] = {0xFF,0xF2,0x40,0xC0,0x19,0xB7,0x00,0x14,0x02,0xE6,0x5C,};
unsigned char *q;
q = data ;
Code:
..\Src\main.c(274): error: #513: a value of type "const unsigned char *" cannot be assigned to an entity of type "unsigned char *"
q = data;
Thank you
Last edited: