that's a no go with pbpCode:HeartBeat var LATH.3 ... toggle HeartBeat
toggle only works with portx regs
eg
HeartBeat var porth.3
toggle HeartBeat
ps if that's all you want from an interrupt there is no need for all that bloat from dt ints
see this
http://www.picbasic.co.uk/forum/showthread.php?t=23874




Bookmarks