I'll make a start and stumble through it. I'd be greatfull if anyone helps out.
I was thinking about it a bit more and realized that it needs to be checking the analog input much more frequently than something like once a second.
Reason being, once it actually sees the constant change, it will activate the solenoid. This is when things start to happen quickly. With the solenoid activated, the air lifts the truck rapidly. To give an example, for approx .2 sec on time, there is about 10PSI increase, which is an easy 10mm if not more in height. So it needs to be checking the input at least 10 times per sec to be somewhat accurate, maybe more. Still do-able?