Changed analog input threshold direction.