Quote Originally Posted by yankee View Post
How would I program and wire a circuit to use a toggle switch on RA5? I've been unable to get it to work.

~ Dave
Hi Dave, . . . use a toggle switch . . . do you mean as an input or toggle as an output ? This chip will not output on RA5, so I will assume as an input. A simple if then loop to check port status will do fine. Schmitt trigger has higher and lower readings than TTL to switch say 1volt and 4 volt as opposed to about 1/2 supply voltage.
Code:
IF PortA.5 THEN