Baud rates conflicting with sensors

Welcome to the forum

Thank you for trying to use code tags. Unfortunately you used the apostrophe rather than the backtick character. I have corrected your post

This is the easiest way to tidy up the code and add the code tags

Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.