Re: Help Needed with DT Instant Interrupts
CONFIG OSC = HS ; HS oscillator ???
CONFIG OSC = HSPLL
DEFINE OSC 40 ' 40MHZ crystal (10MHz + 4*PLL)
Code:
ToggleLED1:
TOGGLE LED1
@ INT_RETURN
if you did manage to get a @ 40mHz lock then that's a 20 Hz flash rate , bit hard to see by eye
other than that it should be ok except for possible rmw issues
to eliminate the possibility of rmw
Code:
led1 var latb.1
trisb.1=0
'''''''''''''''''''''''''''''''
ToggleLED1:
LED1 = ! LED1
@ INT_RETURN
Warning I'm not a teacher
Bookmarks