TKruger
Newbie level 4

- Joined
- Apr 22, 2011
- Messages
- 6
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Location
- South Africa
- Activity points
- 1,320
Hi Guys
I have designed a BCD-counter that gets displayed on 2x 7 segment displays.
Each display counts 9 and resets, i.e the least significant display starts off at 0 and when it reaches 9,it resets to 0 and it increments the most significant display to a one and so on.
But the counting sequence of the least significant is not counting sequentialy, meaning 0,1,2...9. It is counting weird:1,5,7,8,9.
Now my question is: "Can the clock signal influence the counting sequence???"
"Do you need a 50% duty cycle on your clock signal??"
Here is my code attached - "mod10"
I have designed a BCD-counter that gets displayed on 2x 7 segment displays.
Each display counts 9 and resets, i.e the least significant display starts off at 0 and when it reaches 9,it resets to 0 and it increments the most significant display to a one and so on.
But the counting sequence of the least significant is not counting sequentialy, meaning 0,1,2...9. It is counting weird:1,5,7,8,9.
Now my question is: "Can the clock signal influence the counting sequence???"
"Do you need a 50% duty cycle on your clock signal??"
Here is my code attached - "mod10"