I did a lot of reading
But you didn't read the sticky post at the top of the topic list. There you would have found information about how to post your problem so you'll get help. I know that immediately by looking at your post because you didn't use code tags for your code (that's the </> button in the editor). Please edit your post and add code tags!
You would also have learned that we need links to the hardware you used.
If you didn't use an Arduino Shield (where the connections are defined) we also need a wiring diagram of how you connected all the external hardware to the Arduino.