Help needed for Arduino guitar tuner

Welcome. First, let's make this a usable post. Post the code in a new message, inside code tags. The instructions were shown to you when you signed up.

Also, a question: Where do you position the sensor when you tune?

Another: You mentioned swapping sensors but didn't explain why.

Another: You didn't show how you have them connected.