سلام
کسی میدونه این خطا از چیه؟
lcd1.axf: Error: L6411W: No compatible library exists with a definition of startup symbol __main.
هدرهی مورد نیازم کپی کردم؟
نمیدونم مشکل از هدره یا نرم افزار keil یا ... ؟
اینم برنامه
#include <AT91SAM7X256.h>
#include <lib_AT91SAM7X256.h>
#include <lcd.h>
#include <delay.h>
int main (void)
{
int a=58;
#define LCD_bit 4
#define LCD_PORT B
#define LCD_RS 0
#define LCD_E 1
#define LCD_DB0 2
#define LCD_DB1 3
#define LCD_DB2 4
#define LCD_DB3 5
#include "lcd.h"
while(1){
lcd_gotoxy(2,5);
lcd_putsf("www"
;
cursor_on();
delay_s(5);
cursor_off();
delay_s(5);
}
}
:eek: :eek:
کسی میدونه این خطا از چیه؟
lcd1.axf: Error: L6411W: No compatible library exists with a definition of startup symbol __main.
هدرهی مورد نیازم کپی کردم؟
نمیدونم مشکل از هدره یا نرم افزار keil یا ... ؟
اینم برنامه
#include <AT91SAM7X256.h>
#include <lib_AT91SAM7X256.h>
#include <lcd.h>
#include <delay.h>
int main (void)
{
int a=58;
#define LCD_bit 4
#define LCD_PORT B
#define LCD_RS 0
#define LCD_E 1
#define LCD_DB0 2
#define LCD_DB1 3
#define LCD_DB2 4
#define LCD_DB3 5
#include "lcd.h"
while(1){
lcd_gotoxy(2,5);
lcd_putsf("www"

cursor_on();
delay_s(5);
cursor_off();
delay_s(5);
}
}
:eek: :eek:
دیدگاه