Instead of designing a complex circuit that would need lots of firmware to go with it I did the smart thing and just bought a cheap turner pedal off ebay. https://recklessexperimentationaudio.com
No download links available.