Need Help how to control 4 dc motors with 2 potentiometers atAdafruitMotorShield

Is there any possibility to give/write to me a simple code that is about how to how to control 1 dc motor with a 1 potentiometer with adafruit motor shield or any other motor shield which I can use for my 4 dc motors that can be control from a motor shield ? thanks.