"Waqas_MicroSolutions"
I would give you a very honest advise and that is:
This is a discussion board on electronics, and the section that you are posting is related to micro-controllers. Every other day I see posts from people having only one post on their account, asking for the same kind of thing. "need help......., would someone provide complete schematics, ....... and program as well"
Many of these posts/threads go un answered, reason is though there are lot of people here whose knowledge and skills in electronics, mcu, and programming are admirable, but they wouldn't bother to reply to such posts. Reason is how could such thread starter expect them to do everything for them, when they themselves have not done anything, not even searching on google.
Please do some research, come up with some working post the results problems here and you will get help.
The problem you are referring to is very basic and can be done with ease.