Разработка, производство и продажа радиоэлектронной аппаратуры
|
Требуется программист в Зеленограде - обработка данных с датчиков; ColdFire; 40 тыс.
e-mail: jobsmp@pochta.ru
|
SOS!!!
Отправлено
moZZZg 04 мая 2007 г. 12:56
вот кусок кода:
// Local global variables
unsigned char String_cnt; // used as a counter to keep track of which characters to display on the LCD when scrolling a string
unsigned char Clear_cnt; // used as a counter when the LCD shall "fade" out after a scrolling string
unsigned char *String; // pointer to the string that is to be displayed on the LCD
unsigned char NumberOfScroll; // variable that holds the number of times a string should be scrolled on the LCD
unsigned char Colon = FALSE; // variable to indicate whether to set or clear the colons// table used in the "void LCDsetupData(void)" to load a string to be displayed on the LCD
unsigned char *String_Table[6] = {"Clock","Date","Setpoint","Temperature","Offset","Contrast"}; (ошибка в строке выше )
вот ошибка:
Error[Pe144]: a value of type "char const *" cannot be used to initialize an C:\Program Files\IAR Systems\STK 502\AVR064\LCD_functions.c 47
entity of type "unsigned char *"
Подскажите че делать и как???
Составить ответ | Вернуться на конференцию
Ответы