This arduino sketch controls a LCD  with 2 wire instead of 6 wires and  control keypad with 1 wire instead of 7 wires