Electronic pedal control