Hi

I want to connect a 4x2 keyboard (4 collom, 2rows) and 16x2 LCD
(4 bits + RS + E) and 4 leds

So normally 6+6+4 I/O's, but i remember that someone found a solution to
free up some pins by using some togheter

Can someone help with an example to read the keyboard, write to the LCD
and set the LED's with a minimum of IOs
I want to use an 16F876 or 877

Thanks to all