How else did you think you could do it?
Don't know, since I'm new at this I'm clueless on how all of this works together really! I thougth this works just like a pwm output.
Last couple of days I haven't taken time to make progress on this but I've been giving it thought, and I don't know if I have been looking at it from the wrong point of view. What I want this to do is just to store the value that's coming out of the pots on the pedal in say 3 different positions (at 25%, 60% and 100% of the pot) and use the Arduino to send that value out in to the pedals own board just like if I would have instantly change the pot manually.
This guy made something similar, but he stored different types of waves to generate different ways to make on pot move.