stepper Motor is not doing anything

Hi all,
I've been trying to get a 28BYJ-48 stepper motor to work for the past few days, but the thing simply is not working.

I tried to copy exactly what this person does in this youtube video : How To Control Stepper Motor With Arduino - YouTube

My wiring is the exact same as his, and the code too. However, when I upload to the Arduino board, the motor does not spin at all. There is no error code or anything, it just says done uploading and then it does nothing. I'm not sure what part of the process is wrong.

Here is my code:

Please post your program code here, And please use the code button </> so your code looks like this and is easy to copy to a text editor. See How to use the Forum

This program works for me

// from

#include <AccelStepper.h>
#define HALFSTEP 8
#define FULLSTEP 4

// Motor pin definitions
#define motorPin1  3     // IN1 on the ULN2003 driver 1
#define motorPin2  4     // IN2 on the ULN2003 driver 1
#define motorPin3  5     // IN3 on the ULN2003 driver 1
#define motorPin4  6     // IN4 on the ULN2003 driver 1

// Initialize with pin sequence IN1-IN3-IN2-IN4 for using the AccelStepper with 28BYJ-48
//~ AccelStepper stepper1(HALFSTEP, motorPin1, motorPin3, motorPin2, motorPin4);
AccelStepper stepper1(FULLSTEP, motorPin1, motorPin3, motorPin2, motorPin4);

void setup() {

}//--(end setup )---

void loop() {

  //Change direction when the stepper reaches the target position
  if (stepper1.distanceToGo() == 0) {