Hi! You have not mentioned if the values come with a regular rate. If they do then I suppose you have to use maths (diferrentiation) to get your value.

I am not an math's expert though.

Another method might be to use Interrupts and check the value from A/D. Then use select case commands to decide whta to do.

Ioannis