Picc lite'da hata

umutozkans

Üye
Katılım
7 Ağu 2008
Mesajlar
78
Puanları
1
Yaş
40
Merhaba kullandığım PICC Lite derleyicisinde "too many file arguments . usage:cpp [input[output]]" hatasıyla karşılaşıyorum anlamı nedir? Bilen var mı?
 
Arkadaşlar aşağıda yazılım listesini verdiğim projeyi MPLAB ile yazdım ancak .hex dosyasına çeviremiyorum. Programın yazılım listesi ve hatalar aşağıdaki gibidir.
#include <pic.h>
#include <delay.c>
#include <stdio.h>
#include <serial.c>

#define D0 RB4
#define CLK RB5
#define CS RB6

unsigned char sicakligi_oku(void)
{
unsigned char i,sayisal;

sayisal=0;
CS=0;
for(i=0;i<9;i++)
{
CLK=1;
CLK=0;
sayisal=sayisal<<1;
sayisal=sayisal+D0;
}
CS=1;
return(sayisal);
}

void bir_saniye()
{
unsigned char i;
for(i=0;i<4;i++)DelayMS(250);
}

main(void)
{
const int lsb=5000/256;
int mV,santigrat;
unsigned char sicaklik;
unsigned char goster[]="S";

TRISB=0x10;
TRISA=0;
CS=1;
CLK=0;
for(;;)
{
sicaklik=sicakligi_oku();
mV=sicaklik*lsb;
santigrat=mV/10;
sprintf(goster+1,"%d",santigrat);
printf("%s".goster);
bir_saniye();
}
}



ERRORS

Error[105] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 1 : Cannot open file (Include File "P18F877A.INC" not found)
Error[105] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 2 : Cannot open file (Include File "delay.c" not found)
Error[105] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 3 : Cannot open file (Include File "stdio.h" not found)
Error[105] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 4 : Cannot open file (Include File "serial.c" not found)
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 10 : Illegal opcode (char)
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 11 : Illegal character ({)
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 12 : Illegal opcode (char)
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 16 : Illegal character (()
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 17 : Illegal character ({)
Error[113] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 21 : Symbol not previously defined (RB4)
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 22 : Illegal character (})
Warning[203] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 24 : Found opcode in column 1. (return)
Warning[211] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 24 : Extraneous arguments on the line.
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 25 : Illegal character (})
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 27 : Illegal opcode (bir_saniye)
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 28 : Illegal character ({)
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 29 : Illegal opcode (char)
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 30 : Illegal character (()
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 31 : Illegal character (})
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 33 : Illegal character (()
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 34 : Illegal character ({)
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 35 : Illegal opcode (int)
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 36 : Illegal opcode (mV)
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 37 : Illegal opcode (char)
Error[122] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 38 : Illegal opcode (char)
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 44 : Illegal character (()
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 45 : Illegal character ({)
Error[113] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 46 : Symbol not previously defined (sicakligi_oku)
Error[124] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 46 : Illegal argument
Error[113] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 47 : Symbol not previously defined (lsb)
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 49 : Illegal character (()
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 50 : Illegal character (()
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 51 : Illegal character (()
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 52 : Illegal character (})
Error[108] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 53 : Illegal character (})
Error[129] C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\PROJE 11.ASM 54 : Expected (END)
 

Forum istatistikleri

Konular
129,808
Mesajlar
930,313
Kullanıcılar
452,615
Son üye
ismail_gök

Yeni konular

Geri
Üst