Отправлено
moZZZg 04 мая 2007 г. 14:16
В ответ на: Ответ: отправлено
ETM 04 мая 2007 г. 14:01
вот что написал: unsigned char *String_Table[7] = {"Clock","Date","Setpoint","Temperature","Offset","Contrast","STK502 example application for ATmega169"}; String=(unsigned char *)String_Table[7]; как ты и говорил и воткакие ошибки: LCD_functions.c 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 181 entity of type "unsigned char *" 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 181 entity of type "unsigned char *" 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 181 entity of type "unsigned char *" 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 181 entity of type "unsigned char *" 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 181 entity of type "unsigned char *" 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 181 entity of type "unsigned char *" 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 181 entity of type "unsigned char *" Warning[Pe175]: subscript out of range C:\Program Files\IAR Systems\STK 502\AVR064\LCD_functions.c 182