Do you mean specifically that some output should be high if the value in counter A is > X% of the value in counter B and low if A <= X% of B ?
yeah, my idea would be that a led would light up saying this is 75% or higher, and another if 50% and higher
It would also help if you explain how the values in counters A and B are updated - especially whether there is a major time difference. For example does A only change occasionally and B frequently?
Yes. Counter A is based on user input, and counter B is based on a clock.
essential what i have is if the user pushes the correct buttons fast enough, they get points.
so how many did the user do correctly out of the total clock pulses.
as of now its infinite clock pulses, but i guess it is possible to set a fixed number of pulses and figure out how many their are. and then do the comparasion like that. but i do not know how to set a fixed number of pulses with 555 timer. actually yes i do now. lol.
i could send a signal when the total clock hits 100 or some number, i could send a signal to stop the timer.
would sending a low to the VCC of the 555 work? or maybe figure out with some gate logic to whether or not allow the output go thru.
And how accurate does the comparison have to be - this would have a bearing on the need for synchronicity (is that a word?) between the counters.
synchronicity is in fact a word lol.
accuracy isnt nearly important, just some kind of user feedback is nice.
Does the percentage need to change or is it fixed? If it changes how does that happen, how often and between what limits?
the percentage can stay the same, or have 2 sets of percentages as stated earlier. on for 75% and one for 50% or any other combo of numbers.
thanks for your feedback everyone!