pageygeeza
New Member
I've seen this question asked a couple of times on here, but I couldn't fathom out the answers. I've only been messing with logic circuits for a short while so i've still loads to learn.
The main guts of the circuit runs very well, but I need to simplify the counting direction. I need one button to increment by one and the other button to decrement by one. I'm using tactile button switches for this job and I can get the correct pulse going into the clock from the button using the pull-down resistor. But i'm also using that signal from the same switch to determine direction. I originally assumed that because the signal from the button would become high, it would send a high state into pin15 to make it count up, but it only counts down. I'm probably going about this the wrong way, but any help would be truly appreciated. In the end I'm trying to get a device with only three buttons: Count up, count down and reset. Rather than having a switch for direction a button to count and a reset switch.
Thanks in advance,
Daz
The main guts of the circuit runs very well, but I need to simplify the counting direction. I need one button to increment by one and the other button to decrement by one. I'm using tactile button switches for this job and I can get the correct pulse going into the clock from the button using the pull-down resistor. But i'm also using that signal from the same switch to determine direction. I originally assumed that because the signal from the button would become high, it would send a high state into pin15 to make it count up, but it only counts down. I'm probably going about this the wrong way, but any help would be truly appreciated. In the end I'm trying to get a device with only three buttons: Count up, count down and reset. Rather than having a switch for direction a button to count and a reset switch.
Thanks in advance,
Daz