If you use 74HC595, then you need 3 (three) pins to drive a display.


__________________