- This topic has 0 replies, 1 voice, and was last updated 11 years, 8 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › error in compiling the program using pic c -18 compiler
hii,
i saw the example of serial interface with the PIC micro controller. i am using PIC18f4550 micro controller, and for programming i am using PIC C-18 compiler. but when i compile the code which i found on the your example, i got following types of error.
C:UsersABHISHEKDesktopSerial_commserial_comm.c:12:Error [1151] struct or union object designator expected
C:UsersABHISHEKDesktopSerial_commserial_comm.c:13:Error [1151] struct or union object designator expected
C:UsersABHISHEKDesktopSerial_commserial_comm.c:14:Error [1151] struct or union object designator expected
C:UsersABHISHEKDesktopSerial_commserial_comm.c:20:Error [1151] struct or union object designator expected
C:UsersABHISHEKDesktopSerial_commserial_comm.c:21:Error [1151] struct or union object designator expected
C:UsersABHISHEKDesktopSerial_commserial_comm.c:26:Error [1151] struct or union object designator expected
C:UsersABHISHEKDesktopSerial_commserial_comm.c:28:Error [1151] struct or union object designator expected
C:UsersABHISHEKDesktopSerial_commserial_comm.c:33:Warning [2058] call of function without prototype
Halting build on first failure as requested.
so i want to ask you that in which compiler the code in wriiten in the examples? is this PIC C-18 compiler or another??
Thank you
Regards,
Abhishek Dixit