by using end this make your pic to stop or goto lalaland IMHO.
what aboutalso be sure you set the oscillator configuration fuse to HS.Code:DEFINE OSC 20 ' Set the Xtal frequency to 20mHz ADCON1 = 7 ' Set Analog pins to Digital. TRISA = 0 ' Set all PortA Pins as output RFVDDPin VaR PORTA.3 ' RF Module Power Pin. Main: high RFVDDPin ' Switch RF Module On. here: goto here
Bookmarks