I.E. Instead of using ground to change the input, use +5V for example. The reason I ask is because I need to check if there is voltage from an external source in order to satisfy my condition...
Describe the external signal source. What I mean is, is the source either 5V or open (like a push-button wired to 5V) or is the source 5V and ground (like a TTL signal)?