Thanks JPortici.
I am new here. I need a source code..
I think you have come here on the wrong foot.
You shouldn't just ask for source code to something, I for one see this as very suspicious because it sounds like you want to put minimal effort in to your project. To me that is the wrong approach, student or not.
Instead you should come with very specific questions about very specific problems what you are having, like "I am trying to read a value from the ADC but the values don't seem right, what am I doing wrong?" And then show what you have already done and explain what you have tried. This shows you have made effort but are stuck.
People may be a little less hostile if it doesn't sound like another student or lazy employee trying to flog off someone else's code as their own, or trying to avoid, you know, actually learning something.
Datasheets for your chosen components probably contain all of the information you need to achieve everything you are trying to do. Read them, try things, and ask questions when you are stuck. If you're not even prepared to do that, you're in the wrong game as datasheets will be your life.