Fix issue with robot not working! :D :D :D

This commit is contained in:
Starbeamrainbowlabs 2016-09-02 06:48:10 +00:00
parent 6f00848888
commit f6c558cd8e
1 changed files with 8 additions and 10 deletions

18
HullPixelBotDance/HullPixelBotDance.ino Normal file → Executable file
View File

@ -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