Strange. I have seen toggle do strange things before but cant remember what the problem was.
Out of interest, does it work if you use the following instead of toggle:
IF Heart_Beat_LED=0 THEN
Heart_Beat_LED=1
ELSE
Heart_Beat_LED=0
ENDIF
PAUSE 1000
Bookmarks