With all of your code crammed together, and no code tags, it's really hard to read it all, but you might want to look for more instances of things like this;
GOSUB BEGIN'
BEGIN:
With all of your code crammed together, and no code tags, it's really hard to read it all, but you might want to look for more instances of things like this;
GOSUB BEGIN'
BEGIN:
1st, I crammed everything to gether for this post. My code looks much nicer than that.
But it does bring up a question I had: Where does the PIC start excecuting? If I don't tell it where to start?
And right I changed
GOSUB BEGIN
BEGIN:
to
GOTO BEGIN
BEGIN:
Is that better? If I didn't put that there where would the PIC have begun running? Right after the BEGIN: label? ie
BLEDOUT = 0' TURN BLUE LED ON ??
The less you expect, the more you get.
The program will start at the very top of your code, and will execute each following lines. You don't need the GOTO BEGIN.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks