bananasiong
New Member
Hi,
If I want to display number or anything with 7 segment display, I need 8 pins. If I use 8 pins directly from the microcontroller, my i/o pins are wasted.
I've found a method: using serial in to parallel out shift register, 74ls164. According to the datasheet, there are 2 input pins, but I can't figure out how to use 2 pins as input. I thought I just need a clock, and serial input data?
Another method I found is, multiplexing by using the microcontroller, but I don't know how to connect them up and any additional hardware needed.
Can anyone tell me, or better method?
Thanks
If I want to display number or anything with 7 segment display, I need 8 pins. If I use 8 pins directly from the microcontroller, my i/o pins are wasted.
I've found a method: using serial in to parallel out shift register, 74ls164. According to the datasheet, there are 2 input pins, but I can't figure out how to use 2 pins as input. I thought I just need a clock, and serial input data?
Another method I found is, multiplexing by using the microcontroller, but I don't know how to connect them up and any additional hardware needed.
Can anyone tell me, or better method?
Thanks