Man I'm really confused. You have your hardware all set up already? Like you've got everything wired up, it's just your MCU that's not programmed? I don't understand how you're stuck -- you know exactly what you want it to do, and I'm sorry but there will definitely be some reading involved -- I don't understand how a simple Google search won't answer your questions. If you want to have this up and running without any reading of books, then throw the whole thing in the garbage because nobody on here got anywhere without reading LOTS and lots of books. And watching thousands of hours of videos, to boot. You can't learn it all (or even a little bit) without lots of reading. If you find a book on programming an Arduino or whatever you're using in C, and read the entire book from front to back (assuming you've picked a halfway decent one) then you should know exactly what you need to do, and if the book hasn't shown you how to do it you will at least know exactly where to look to figure out how to do it.
I'm just really having a hard time understanding what your problem is.