Best way to read in an analog trigger signal