Try the config line I posted above. What you're trying to do here isn't any good.
Try the config line I posted above. What you're trying to do here isn't any good.
Okay...I now understand what is to be done, and the changes were made as you said to the .inc file. Compile is now error free. Pop-up window settings are now as per your suggestion. Sorry for the crazy rookie mistakes. Let's see what happens now....
Update...LED is on steady. No blinking
Last edited by ronbowalker; - 30th November 2009 at 23:57. Reason: Info Updated...
You might want to try something like this to see your LEDs blink;Update...LED is on steady. No blinking
Check your PBP manual to see why your LEDs aren't visibly blinking with PULSEOUT...;o)Code:DEFINE OSC 4 @ __CONFIG _INTRC_IO & _WDT_OFF & _PWRTE_OFF & _LVP_OFF & _MCLR_OFF & _BODEN_OFF & _DEBUG_OFF OSCCON = %01100000 ' 4MHz ADCON1=7 TRISA = %00000000 TRISB = %00000000 TRISB.4 = 0 TRISA.0 = 0 PORTA.0 = 0 PORTB.4 = 0 LOOP: PORTB.4 = PORTB.4 ^ 1 PAUSE 250 PORTA.0 = PORTA.0 ^ 1 PAUSE 250 Goto LOOP
Bookmarks