Substituted SPST switch for a SPDT because atmega's digital port need GND for 0 and VCC for 1. An non-connect port yeilds unpredictable readings.