Ping pong wih LED matrix

Well, I just don't know what to do about the pots. And I don't know if it's normal, but the code is running automatically, without Arduino software.