From f6c558cd8e409390aa77d262cd000c7cbeb21542 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 2 Sep 2016 06:48:10 +0000 Subject: [PATCH] Fix issue with robot not working! :D :D :D --- HullPixelBotDance/HullPixelBotDance.ino | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) mode change 100644 => 100755 HullPixelBotDance/HullPixelBotDance.ino diff --git a/HullPixelBotDance/HullPixelBotDance.ino b/HullPixelBotDance/HullPixelBotDance.ino old mode 100644 new mode 100755 index 320ff5d..62e5c92 --- a/HullPixelBotDance/HullPixelBotDance.ino +++ b/HullPixelBotDance/HullPixelBotDance.ino @@ -5,17 +5,15 @@ //////////////////////////////////////////////// //declare variables for the motor pins -int rmotorPin1 = 0; // Blue - 28BYJ48 pin 1 -int rmotorPin2 = 1; // Pink - 28BYJ48 pin 2 -int rmotorPin3 = 2; // Yellow - 28BYJ48 pin 3 -int rmotorPin4 = 3; // Orange - 28BYJ48 pin 4 - // Red - 28BYJ48 pin 5 (VCC) +int rmotorPin1 = 16; // Purple - 28BYJ48 pin 1 +int rmotorPin2 = 5; // Grey - 28BYJ48 pin 2 +int rmotorPin3 = 4; // White - 28BYJ48 pin 3 +int rmotorPin4 = 0; // Black - 28BYJ48 pin 4 -int lmotorPin1 = 7; // Blue - 28BYJ48 pin 1 -int lmotorPin2 = 6; // Pink - 28BYJ48 pin 2 -int lmotorPin3 = 5; // Yellow - 28BYJ48 pin 3 -int lmotorPin4 = 4; // Orange - 28BYJ48 pin 4 - // Red - 28BYJ48 pin 5 (VCC) +int lmotorPin1 = 2; // Yellow - 28BYJ48 pin 1 +int lmotorPin2 = 14; // Orange - 28BYJ48 pin 2 +int lmotorPin3 = 12; // Red - 28BYJ48 pin 3 +int lmotorPin4 = 13; // Brown - 28BYJ48 pin 4 int motorSpeed = 1200; //variable to set stepper speed