open pin 23 for input