I'm using PIC16f887 with 20MHZ osc...my led connect to RD2.
Define OSC 20
TRISD = 0
PORTD = 0
MAIN:
PORTD.2 = 1
PAUSE 500
PORTD.2 = 0
PAUSE 500
GOTO MAIN
end
why my led not blinking with 500ms ?? when i remove define osc 20...my led blinking correctly (500ms).
Bookmarks