configured pins to periphial