Is there anyway to set the variables before pinmode?
Otherwise we need to remember the pin numbers all the time?
See attached, line 31 occurs first, then after that the set variables happen.
Is there a way to set variables first so we dont need to hard code pins?
In this example, I can use variables for the trigger/echo pin, but thats just lucky as those pinModes happen in getDistance.