Limit switch voltage too high for Arduino input

Like this.
gdo.png
.