changed analog 1 value to 895 to get 0 to 1