1.
while in armcc compiler it gives error:
2. How to get it done in armcc compiler also. I have writing decimal no in front to store how many characters a string will have
3. Also I wrote code (this is not keil ver specific):
Rich (BB code):
const unsigned char me[] ={6,"my_lcd"}; // works fine in C51 compiler.
Rich (BB code):
error: #144: a value of type "char *" cannot be used to initialize an entity of type "const uint8_t"
2. How to get it done in armcc compiler also. I have writing decimal no in front to store how many characters a string will have
3. Also I wrote code (this is not keil ver specific):
Rich (BB code):
const uint8_t *combine_data[6] = {
{"INTERPRETATION"},
{"SINUS RHYTHM"},
{"AXIS(QRS)NORMAL"},
};
x = (uint8_t *)(combine_data[2] + 5);
(*x)++; //it is not incrementing value of x here
Last edited: