礦ision Build Log

Project:

I:\ST7565_LCD12864\USER\LED.uvproj Project File Date: 01/27/2015

Output:

Build target 'Target 1' linking... Program Size: Code=4844 RO-data=592 RW-data=4868 ZI-data=1636 FromELF: creating hex file... "..\OBJ\LED.axf" - 0 Error(s), 0 Warning(s).
..\\OBJ\\LED.axf" Erase Done. Programming Done. Verify OK. Done. Verify OK. a=1636 FromELF: creating hex file... "..\OBJ\LED.axf" - 0 Error(s), 1 Warning(s). rror(s), 1 Warning(s). ..\HARDWARE\ST7565_12864\lcd.c(234): warning: #77-D: this declaration has no storage class or type specifier Delay(5); ..\HARDWARE\ST7565_12864\lcd.c(235): error: #79: expected a type specifier WriteToLCD(0x24, 1); /*粗调对比度,可设置范围20~27*/ ..\HARDWARE\ST7565_12864\lcd.c(235): error: #79: expected a type specifier WriteToLCD(0x24, 1); /*粗调对比度,可设置范围20~27*/ ..\HARDWARE\ST7565_12864\lcd.c(235): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0x24, 1); /*粗调对比度,可设置范围20~27*/ ..\HARDWARE\ST7565_12864\lcd.c(235): error: #147: declaration is incompatible with "void WriteToLCD(unsigned char, unsigned char)" (declared at line 57 of "..\HARDWARE\ST7565_12864\lcd.h") WriteToLCD(0x24, 1); /*粗调对比度,可设置范围20~27*/ ..\HARDWARE\ST7565_12864\lcd.c(236): error: #79: expected a type specifier WriteToLCD(0x81, 1); /*微调对比度*/ ..\HARDWARE\ST7565_12864\lcd.c(236): error: #79: expected a type specifier WriteToLCD(0x81, 1); /*微调对比度*/ ..\HARDWARE\ST7565_12864\lcd.c(236): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0x81, 1); /*微调对比度*/ ..\HARDWARE\ST7565_12864\lcd.c(237): error: #79: expected a type specifier WriteToLCD(0x1a, 1); /*微调对比度的值,可设置范围0~63 1f*/ ..\HARDWARE\ST7565_12864\lcd.c(237): error: #79: expected a type specifier WriteToLCD(0x1a, 1); /*微调对比度的值,可设置范围0~63 1f*/ ..\HARDWARE\ST7565_12864\lcd.c(237): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0x1a, 1); /*微调对比度的值,可设置范围0~63 1f*/ ..\HARDWARE\ST7565_12864\lcd.c(238): error: #79: expected a type specifier WriteToLCD(0xa2, 1); /*1/9偏压比(bias)*/ ..\HARDWARE\ST7565_12864\lcd.c(238): error: #79: expected a type specifier WriteToLCD(0xa2, 1); /*1/9偏压比(bias)*/ ..\HARDWARE\ST7565_12864\lcd.c(238): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0xa2, 1); /*1/9偏压比(bias)*/ ..\HARDWARE\ST7565_12864\lcd.c(239): error: #79: expected a type specifier WriteToLCD(0xc8, 1); /*行扫描顺序:从上到下*/ ..\HARDWARE\ST7565_12864\lcd.c(239): error: #79: expected a type specifier WriteToLCD(0xc8, 1); /*行扫描顺序:从上到下*/ ..\HARDWARE\ST7565_12864\lcd.c(239): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0xc8, 1); /*行扫描顺序:从上到下*/ ..\HARDWARE\ST7565_12864\lcd.c(240): error: #79: expected a type specifier WriteToLCD(0xa0, 1); /*列扫描顺序:从左到右*/ ..\HARDWARE\ST7565_12864\lcd.c(240): error: #79: expected a type specifier WriteToLCD(0xa0, 1); /*列扫描顺序:从左到右*/ ..\HARDWARE\ST7565_12864\lcd.c(240): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0xa0, 1); /*列扫描顺序:从左到右*/ ..\HARDWARE\ST7565_12864\lcd.c(241): error: #79: expected a type specifier WriteToLCD(0x40, 1); /*起始行:从第一行开始*/ ..\HARDWARE\ST7565_12864\lcd.c(241): error: #79: expected a type specifier WriteToLCD(0x40, 1); /*起始行:从第一行开始*/ ..\HARDWARE\ST7565_12864\lcd.c(241): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0x40, 1); /*起始行:从第一行开始*/ ..\HARDWARE\ST7565_12864\lcd.c(242): warning: #1295-D: Deprecated declaration ClearScreen - give arg types ClearScreen(); ..\HARDWARE\ST7565_12864\lcd.c(242): warning: #77-D: this declaration has no storage class or type specifier ClearScreen(); ..\HARDWARE\ST7565_12864\lcd.c(242): error: #147: declaration is incompatible with "void ClearScreen(void)" (declared at line 37 of "..\HARDWARE\ST7565_12864\lcd.h") ClearScreen(); ..\HARDWARE\ST7565_12864\lcd.c(243): error: #79: expected a type specifier WriteToLCD(0xaf, 1); /*开显示*/ ..\HARDWARE\ST7565_12864\lcd.c(243): error: #79: expected a type specifier WriteToLCD(0xaf, 1); /*开显示*/ ..\HARDWARE\ST7565_12864\lcd.c(243): warning: #77-D: this declaration has no storage class or type specifier WriteToLCD(0xaf, 1); /*开显示*/ ..\HARDWARE\ST7565_12864\lcd.c(244): error: #169: expected a declaration } ..\HARDWARE\ST7565_12864\lcd.c(281): warning: #12-D: parsing restarts here after previous syntax error GPIO_SetBits(LCD_GPIO, LCD_SCLK); ..\HARDWARE\ST7565_12864\lcd.c(282): error: #77-D: this declaration has no storage class or type specifier data <<= 1; ..\HARDWARE\ST7565_12864\lcd.c(282): error: #65: expected a ";" data <<= 1; ..\HARDWARE\ST7565_12864\lcd.c(283): error: #169: expected a declaration } ..\HARDWARE\ST7565_12864\lcd.c(358): warning: #12-D: parsing restarts here after previous syntax error i++; ..\HARDWARE\ST7565_12864\lcd.c(359): error: #169: expected a declaration } ..\HARDWARE\ST7565_12864\lcd.c(362): error: #169: expected a declaration } ..\HARDWARE\ST7565_12864\lcd.c(482): warning: #12-D: parsing restarts here after previous syntax error }; ..\HARDWARE\ST7565_12864\lcd.c(484): error: #40: expected an identifier DisplayChinese(page,column,code,4); ..\HARDWARE\ST7565_12864\lcd.c(484): warning: #77-D: this declaration has no storage class or type specifier DisplayChinese(page,column,code,4); ..\HARDWARE\ST7565_12864\lcd.c(484): error: #92: identifier-list parameters may only be used in a function definition DisplayChinese(page,column,code,4); ..\HARDWARE\ST7565_12864\lcd.c(484): error: #147: declaration is incompatible with "void DisplayChinese(unsigned char, unsigned char, unsigned char *, unsigned char)" (declared at line 68 of "..\HARDWARE\ST7565_12864\lcd.h") DisplayChinese(page,column,code,4); ..\HARDWARE\ST7565_12864\lcd.c(485): error: #18: expected a ")" DisplayStr(page,column+64,":"); ..\HARDWARE\ST7565_12864\lcd.c: 16 warnings, 30 errors "..\OBJ\LED.axf" - 30 Error(s), 16 Warning(s). Target not created