NEED HELP ON CODE

If you want help, you really need to ask the right question.

What is your exact problem, have you tried something?
Did you break you sketches down to small pieces controlling only one piece of hardware?

Did you try something at all?!

If you want help, you need to tell us where the problem lies!!!

Cheers