Skip to content

Commit c1f9b38

Browse files
committed
clean up pin setup in BasicSteppingSPI too
1 parent 70bdc43 commit c1f9b38

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/BasicSteppingSPI/BasicSteppingSPI.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ void setup()
3636
SPI.begin();
3737
sd.setChipSelectPin(CSPin);
3838

39-
// Drive the STEP and DIR pins low initially.
40-
pinMode(StepPin, OUTPUT);
41-
digitalWrite(StepPin, LOW);
42-
pinMode(DirPin, OUTPUT);
43-
digitalWrite(DirPin, LOW);
44-
4539
// Give the driver some time to power up.
4640
delay(1);
4741

0 commit comments

Comments
 (0)