Actually, I tried multiple settings. I searched throughout this site and even found one instance where Darrel suggested adcon1 = 15, so I tried that. After my post, I changed it to:

Code:
  ADCON1 = %00001110             ' set to digital outputs
The end code I had after the last LED pause was:

Code:
 while program = 1

  pause 100

 wend      

    relay1 = 0
    relay2 = 0
    relay3 = 0
    relay4 = 0
      
    led1 = 0
    led2 = 0
    led3 = 0
    led4 = 0

goto action
As stated, when the program is initially run, the program waits until the button was pressed. Once pressed, it then runs through the sequence continuously, never stopping at the while loop.

Now, I did put in the necessary variable at the top of the code so it would acknowledge the button and when it would be pressed, I'm just out of ideas. Anybody have any?

Thanks,
Tony