Soft Starter code using PWM to control DC Motor

If you are trying to control DC already, the SCR is not a good choice. A transistor is what you need.