Const expression expected
Posted: 16 Mar 2022 21:24
Hi
What am i doing wrong here :
void RGBLCD1602_command(unsigned int value)
{
unsigned int lcddata[3] = {0x80 , value};
RGBLCD1602_send( LCD_ADDRESS , lcddata , 2);
}
I get a compiler error :
Const expression expected
Too many initializers
Thanks,
What am i doing wrong here :
void RGBLCD1602_command(unsigned int value)
{
unsigned int lcddata[3] = {0x80 , value};
RGBLCD1602_send( LCD_ADDRESS , lcddata , 2);
}
I get a compiler error :
Const expression expected
Too many initializers
Thanks,