Hi,
Sorry but it reads better.
We need to see your code?
To add code please click this link;
What model Arduino was the code written for?
Can you please post a link to where you got your code?
Also to understand your project we will need a circuit diagram.
Thanks... Tom...