Read analog and print something if position has changed from up to down