For every time I've done it, the pin has read low (just staying stuck in the loop) with code I gave you. When trying a different code (back where I said "...it was setting bit 0 of PORTA but I couldn't find where..", the program skipped the loop since the bit was set already. I have not had the case where it would sometimes be set and sometimes not though. Unfortunately, the project this is for is designed for very limited control by the user, hence a switch going from the pin to ground can't be used in the final design, not to mention that this is 1 of 6 PIC to motor setups.
So using a wire to apply voltage to a pin as an input can create problems? How else could you provide an input? As for the possible bouncing problem, I plan to put a debounce section in the program.
So using a wire to apply voltage to a pin as an input can create problems? How else could you provide an input? As for the possible bouncing problem, I plan to put a debounce section in the program.