so you have something that's not working.
that's good, you have put forth some effort.
please zip the program or do screen shots and we will look at it and give you
suggestions.
We are more than willing to help, BUT we will not do your homework for you.
here is a hint, forget the 5 valves, just get one working the way you want, then add a second, then a third and so on.
but we still need to see what you have done, we can't read your mind.
james