hellow guys, Iam trying to calculate the slope of an input sawtoooth signal by using pic18. You all know that we are able to calculate the pulse width of the signal. So if we are able to calculate the ampplitude of the signal using the pic, we will be able to derive the slope. As a result, I want a way to measure the slope directly or to measure the amplitude of the input signal. Hope to help me in this problem.