Okay, I added:
DEFINE OSC 8 and added a PAUSE 10 (see below) in the loop: and another message so I toggle between the two.
The message still takes ~ 2 sec to toggle. Another thing I've noticed is that the old program runs for some time before the new one 'kicks in'. I think I'm missing some basic principles here. Any help?
Using the PicKit2 with the auto import and write feature to load the hex. I have used the <ctl>I -<ctl>w with the same results.
As always, thanks.
i = 0
loop:
if i = 1 then
Lcdout $fe, $1, "Hello"
Lcdout $fe, $c0, "World"
i = 0
else
Lcdout $fe, $1, "Wiggles"
Lcdout $fe, $c0, "is here!"
i = 1
endif
pause 10
Goto loop ' Do it forever
Bookmarks