Post 363 should be all I need to complete the program, but I am stuck on this line in particular right now. You say that if both conditions are true, then you are done looking for the peak to peak. If both conditions are true, that means the ADC output is either greater than previous max or less...