Hi friends iam new to PIC programming , I'm coding my pic in mikroC pro , please help me out.. iam attaching my file with this!the code i want is message from transceiver should receiver and check whether the message is ON or OFF then pic should function on my output accordingly!
The compiler doesn't know what the variables
TRISABITS etc are, which means you didn't tell the compiler about them. This is usually done by including the appropriate file given by Microchip. For example, in my header files I have:
#include <p18f47j13.h> // For a PIC18F47J13
It might be easier to use MPLAB X from Microchip and use their project wizard to start your project. MPLAB X will make sure that the mentioned include file is there.
use MPLABx + xc8 compiler (both are for free).
xc.h header in every source file.
That should work.