help to sort the error out
Posted: Mon Jul 31, 2006 3:02 pm
Hello
I just want to print welcome on the lcd, (PIC Matirx multimedai board) the code is below which i have tried, but it gives me a error saying that Error in const array definition.
#include <system.h>
#include "lcdlib.h"
const unsigned char welcome[8]={'W', 'E', 'L', 'C', 'O', 'M', 'E', 0X00};
void main(void)
{
lcd_start();
lcd_print(welcome);
while(1);
}
I just want to print welcome on the lcd, (PIC Matirx multimedai board) the code is below which i have tried, but it gives me a error saying that Error in const array definition.
#include <system.h>
#include "lcdlib.h"
const unsigned char welcome[8]={'W', 'E', 'L', 'C', 'O', 'M', 'E', 0X00};
void main(void)
{
lcd_start();
lcd_print(welcome);
while(1);
}