Quote Originally Posted by tur_bot View Post
hello,
i wanted to test an interrupt in a simple small code , i found a code on the internet and modified it and got this:
@ DEVICE INTRC_OSC, LVP_OFF, WDT_OFF, MCLR_OFF

DEFINE OSC 4

OSCCON=%01101000 ' INTRC = 8MHz
You have set 4 and 8 mhz