Ok, i can get the thing programmed and the led flashing at 4Mhz but not 20Mhz. Have a look below and any help appreciated.
DEFINE OSC 20
INCLUDE "modedefs.bas"
INCLUDE "ICDDEFS4.BAS"
' Example program from manual to blink an LED connected to PORTB.0 about once a second
Led Var Byte
loop:
High 0 ' Turn on LED connected to PORTB.0
Pause 100 ' Delay for .5 seconds
Low 0 ' Turn off LED connected to PORTB.0
Pause 100 ' Delay for .5 seconds
Goto loop
Bookmarks