Commit e3b721cb by rosere

Update tank_0.1.ino

parent e1f559c0
Showing with 1 additions and 0 deletions
...@@ -28,6 +28,7 @@ void loop() { ...@@ -28,6 +28,7 @@ void loop() {
// Set Motor B forward // Set Motor B forward
digitalWrite(in3, LOW); digitalWrite(in3, LOW);
digitalWrite(in4, HIGH); digitalWrite(in4, HIGH);
// Paneb molemad mootorid vaikselt kiiremaks keerlema
for (i = 0; i < 255; i +=10) for (i = 0; i < 255; i +=10)
{ {
analogWrite(enA, i); // Send PWM signal to motor A analogWrite(enA, i); // Send PWM signal to motor A
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment