Arduino code to read from digital calipers