Add new pin config and testing function.