Added schmitt trigger to switch inputs. Sent rev 6.16.14 for production.
Fixed merge conflict