Read the advice how to post the code You have so far.
The advice link: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum
Read the advice how to post the code You have so far.
The advice link: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum