What happens if you were to put a Pause 1 between the Red and Blue?
main:
red=0
pause 1
blue=1
pause 500
red=1
pause 1
blue=0
pause 500
goto main
What happens if you were to put a Pause 1 between the Red and Blue?
main:
red=0
pause 1
blue=1
pause 500
red=1
pause 1
blue=0
pause 500
goto main
I copy and pasted your suggestion and it flashed Blue On, Blue off(red off), Blue On, Blue Off(red off)... and so forth.
OK Melanie... always look at the Datasheet... turn the Comparator OFF... Put this in before your loop...
CMCON=7
Well that was it... Now I'm off to find where I missed it in the datasheet... RTFM failure.
Ninja:
Unprecedented failure... the giant gray box that says NOTE:
Sometimes I feel like a numbnuts.
Thanks Melanie!
Last edited by Perrin`; - 2nd January 2009 at 21:55.
Bookmarks