Electronic foot pedal