Witam,
Ostatnio dostalem 16 bitowy 29-pinowy "starter development board" + (LCD-Powertip PC1602-H, zamontowany do tej plytki) + program(3 pliki .c i 4 .h) ktory ma wystietlic string na tym wyswietlaczu.
Zainstalowalem kompilator MPLAB30 + IDE Stowrzylem nowy projekt i dodalem pliki do projektu. Przy kompilacji programu kompilator wypisuje mi duzo bledow. Brak pliku adcDrv1.h i tglPin.h, pliki znalazlem na wyszukiwarce goole, Ale program dalej sie nie kompiluje...
Co to sa za pliki ?
bledy kompilatora i zdjecie ukladu zamieszczam ponizej.
Pozdr,
Tomek
Ostatnio dostalem 16 bitowy 29-pinowy "starter development board" + (LCD-Powertip PC1602-H, zamontowany do tej plytki) + program(3 pliki .c i 4 .h) ktory ma wystietlic string na tym wyswietlaczu.
Zainstalowalem kompilator MPLAB30 + IDE Stowrzylem nowy projekt i dodalem pliki do projektu. Przy kompilacji programu kompilator wypisuje mi duzo bledow. Brak pliku adcDrv1.h i tglPin.h, pliki znalazlem na wyszukiwarce goole, Ale program dalej sie nie kompiluje...
Co to sa za pliki ?
bledy kompilatora i zdjecie ukladu zamieszczam ponizej.
Make: The target "D:\develop\projects\PIC\tutorial\lcd\adcDrv1.o" is out of date.
Executing: "D:\develop\platforms\PIC\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24HJ32GP202 -x c -c "D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c" -o"adcDrv1.o" -g -Wall
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:55:21: error: adcDrv1.h: No such file or directory
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:57:20: error: tglPin.h: No such file or directory
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c: In function 'initAdc1':
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:71: error: 'AD1CON1BITS' has no member named 'ADDMABM'
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:83: error: 'AD1CON4' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:83: error: (Each undeclared identifier is reported only once
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:83: error: for each function it appears in.)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:95: error: 'AD1PCFGH' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:99: error: 'AD1CSSH' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:106: warning: implicit declaration of function 'tglPinInit'
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c: In function 'initTmr3':
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:122: error: 'SAMPPRD' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c: In function 'initDma0':
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:143: error: 'DMA0CON' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:144: error: 'DMA0PAD' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:145: error: 'DMA0CNT' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:146: error: 'DMA0STA' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:147: error: 'DMA0STB' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:148: error: 'DMA0CONbits' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:149: error: 'DMA0REQ' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:152: error: 'IFS0BITS' has no member named 'DMA0IF'
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:153: error: 'IEC0BITS' has no member named 'DMA0IE'
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c: In function '_DMA0Interrupt':
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:173: error: '_DMA_BASE' undeclared (first use in this function)
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:186: warning: implicit declaration of function 'tglPin'
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:187: error: 'IFS0BITS' has no member named 'DMA0IF'
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c: At top level:
D:\develop\projects\PIC\tutorial\lcd1\adcDrv1.c:188: warning: Invalid interrupt vector names for device '24HJ32GP202' are:
_DMA0Interrupt
Halting build on first failure as requested.
BUILD FAILED: Sun Apr 06 17:06:36 2008Pozdr,
Tomek