Help with software to control some solenoids....

From my original post:

I have a sensor monitoring the suspension height on each wheel. The sensor is basically a pot, supplied with 5v and giving a 0v - 5v output.

It would be all over the place, that's why I added:

I'd like to put a delay in as well, so it doesn't respond immediately, it waits maybe 5 secs, then adjust as necessary.