initialized ports to get ready for analog inputs