Hi Steve
I have done the following:
Edit C:\pbp\16F877.INC, Replace _XT_OSC to _HS_OSC
And edit my code as followings:
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.
here:
goto here
end
But with no luck, it is still flickering?




Bookmarks