There are digital pedals? Honest question - I had a side gig at school repairing and modifying pedals - it was all just transistors and op-amps, bistable oscillators, etc. - nothing digital at all.
Oh yeah totally. There are pedals these days that are a ADC->DSP->DAC. What's actually on the DSP can be programmable, so you have pedals who's function can be changed with the twist of a knob. They kept the same interface (aka quarter inch cables, and foot-stompable buttons), just modernized the interior. They range from something like the Zoom MS-70 CDR at $150, to $1,200 for one with multiple buttons, an analog pedal, and is laptop controllable via USB. (Line 6 Helix LT or Boss GT-1000.)