I'm working on a project that basicly converts a number of pulses to another number of pulses.
The frequency of the incoming pulses is variable, duty cycle always 50%. Conversion factor is also a variable.
The conversion (100puls in --> 95 out, or 103out, or...) is no problem.
But the output needs also a duty cycle of 50%. Has anyone an idea on how to implement this? I prefer in assembler, but another language will do also (it's the concept i need)