Skip to content

Commit

Permalink
Fixed problem with the UNL2003_DRIVER define.
Browse files Browse the repository at this point in the history
  • Loading branch information
euphy committed Nov 26, 2014
1 parent 2905186 commit 876df3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configuration.ino
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ AccelStepper motorA(1,MOTOR_A_STEP_PIN, MOTOR_A_DIR_PIN);
AccelStepper motorB(1,MOTOR_B_STEP_PIN, MOTOR_B_DIR_PIN);
#endif

#ifdef UNL2003
#ifdef UNL2003_DRIVER
// Contributed by @j0nson
// Initialize ULN2003 stepper driver
// first number is type of stepper motor, 4 for a normal 4 wire step motor, 8 for a halfstepped normal 4 wire motor
Expand Down
4 changes: 2 additions & 2 deletions polargraph_server_a1.ino
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ Comment the lines below in or out to control what gets compiled.
// REMEMBER!!! You need to comment out the matching library imports in the 'configuration.ino' tab too.
// So regardless of what you choose here, remember to sort out the #includes in configuration.ino.

#define ADAFRUIT_MOTORSHIELD_V1
//#define ADAFRUIT_MOTORSHIELD_V1
//#define ADAFRUIT_MOTORSHIELD_V2

// Using discrete stepper drivers? (eg EasyDriver, stepstick, Pololu gear),
// choose SERIAL_STEPPER_DRIVERS and define your pins at the bottom of 'configuration.ino'.
//#define SERIAL_STEPPER_DRIVERS

// Using a signal amplifier like a UNL2003?
//#define UNL2003_DRIVER
#define UNL2003_DRIVER



Expand Down

0 comments on commit 876df3d

Please sign in to comment.