Here is my code:
Include "Modedefs.bas"
DEFINE OSC 20 ' Set the Xtal frequency to 20mHz
RFVDDPin VaR PORTA.3 ' RF Module Power Pin.
Main:
ADCON1 = 7 ' Set Analog pins to Digital.
TRISA = 0 ' Set all PortA Pins as output
high RFVDDPin ' Switch RF Module On.
end
Bookmarks