From e82a57a51fb43d5664d43a40e571dafa7e1be116 Mon Sep 17 00:00:00 2001 From: aungkhantko Date: Sat, 13 Oct 2018 03:09:56 -0400 Subject: [PATCH] Changed Pins --- moth-main/moth-move.ino | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/moth-main/moth-move.ino b/moth-main/moth-move.ino index fe056f3..280d1cf 100644 --- a/moth-main/moth-move.ino +++ b/moth-main/moth-move.ino @@ -1,10 +1,10 @@ #include -const int ENA = 6; -const int IN1 = 8; -const int IN2 = 7; -const int IN3 = 2; -const int IN4 = 4; -const int ENB = 3; +const int ENA = 10; +const int IN1 = 9; +const int IN2 = 8; +const int IN3 = 7; +const int IN4 = 6; +const int ENB = 5; L298N driver(ENA,IN1,IN2,IN3,IN4,ENB); int time_delay = 500; int base_speed = 150;