Converting decimal to BCD
RacerX
Posts: 6
I have a circuit set up with a BS2 driving a 74HC595.· The 595 is connected to two 74LS47 BCD to decimal converters each driving a seven segment LED.
I want to take a decimal number (counter) which can range from 0-99 and put it on the LEDs.
How would be the best way to get my 8 bits properly arranged into 2 BCD friendly nibbles to shift out to the 595?
·
I want to take a decimal number (counter) which can range from 0-99 and put it on the LEDs.
How would be the best way to get my 8 bits properly arranged into 2 BCD friendly nibbles to shift out to the 595?
·
Comments
[/code][/size]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com