I like this trick to make friends. Thanks!why waste time on on this whether i trust it or not...
please check the relevant error and give me some solution.
I like this trick to make friends. Thanks!why waste time on on this whether i trust it or not...
please check the relevant error and give me some solution.
These GLCD files look like they were probably pre-existing and I imagine you have used these files in conjunction with your own source for the main. If these were pre-existing library source files then the problem is most likely in your main module so while the reference to the main has somehow been cleared the remaining errors will not be cleared just by looking at the library sources.that error is gone now. the first one
ErnieM If u see 3rd page of the post u'll notice that I have posted the definition of TRISCBITS from p24fj64ga004.h file....This is defined within the file "p24FJ64GA004.h"
I started a new MPLABX project, and copied/pasted your code into it. Then I tried to compile it, and I hoped I got the same error messages as you. And I did. Then I change the first TRISCBITS.TRISC1=0, to TRISCbits.TRISC1=0, and tried to compile it. Then I got an error on the next line. See attachment.glcd.c:22:11: error expected identifier or '(' before '.' token
No, I will not. It's not my project.check your header file...may be it is defined that way in your header file.
extern volatile TRISCBITS TRISCbits __attribute__((__sfr__));
And where did you #include p24fj64ga004.h in the glcd.c file?ErnieM If u see 3rd page of the post u'll notice that I have posted the definition of TRISCBITS from p24fj64ga004.h file....
and yes i have included that glcd.h header