how to control motor speed using pwm. There are any references about how to control motor speed using pwm in here. you can look below.