Images of code are nearly worthless. We can't copy the code to an editor or the IDE for examination. Please read the forum guidelines to see how to properly post code and some information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
Serial monitor output should be copied and pasted into a post as text, not a screen shot, please.