miller puckett sampler.
I have a sample displayed over 16 ( 0 - 15 ) LEDs. Im also using the LEDS as toggle buttons to splice to different parts of the sample.
The different of the left limit and the right limit is calculated. I then multiply the result by 15 and that result is then used to calculate what to divid 1 ( the length of the sample by…i think)..the idea is that the led toggles interface I’m using lines up with where I need to splice.
What happens when i move just the right limit seems to work well. the led jumps to where the button is toggled. But when i begin to move the left limit I can’t line up the Led display with where I want to toggle and splice.
What am I missing here?
Many thanks