Why does this program switch pins?

Printable View