Help with software to control some solenoids....

So it needs to be checking the input at least 10 times per sec to be somewhat accurate, maybe more. Still do-able?

The Arduino executes 16,000,000 instructions per second. Checking one input 10 times per second still involves a lot of idle time.