Added Set Input Function, Additional Descriptions

and Variables.

I chose to make the pin variables static because the write delay
shouldn't be too bad. (If need be, I will make them global again if I
see in debugging that their state isn't changing fast enough.)