> ke wrote: > > Hello! > I have done Binclk with bincode on six outports. I wonder if there is > any easy way > to make BCDcode on four outports to BCD decoder who shows hour and > minutes on four 7 segments display ? I`m beginner so please help me > instead laughing at me ! > All are kids in the begining! I'm not sure, but I think you're talking about multiplexing the display. You would activate a pin that is "digit 1" and put digit 1's output on 4 other pins. Those pins would feed a BCD-7 segment decoder chip, which drives the display. Then you output digit 2, 3, 4.... This is frequently done to minimize the number of pins used to drive the display. First, locate a suitable decoder chip, They come in "common anode" and "common cathode" types. You must use them with the right type of displays. You can skip the special decoder chip and use a 74HC164 shift register, but then you have to make the translation from the BCD digit to the right segment pattern in your software, and clock it out to the shift register. Advantage? Works with either display type, and it only needs two pins instead of four. With two 164's cascaded, you can drive the whole thing from two lines, just make the first 8 bits output which display is active, and the last, which segments.. Good luck!