Hey everybody,
i own a RC-Car with a DC-Motor and a complete Arduino-based control.
Every time I send a command to drive (no matter which direction), the motor runs with this PWM (in my case 100) instantly. It doesn´t sounds very good ![]()
Is there a chance to start it up a little bit softer (e.g. within 1second)?
Is there a command or something for that?
Code snipped:
Serial.available();
value = Serial.read;
...
if (value='w') {
digitalWrite(In1A, LOW);
digitalWrite(In1B, HIGH);
analogWrite(PWM, 100);
}
greetings
K86