I have an unipolar stepper motor that im driving with an Arduino. As a driver for the motor i bought a ULN2004 driver chip from Ebay. Or so i thought. I might be missing something, but the chip i received has 9 pins on each side, not 8 as my sketch illustrates, and the number on it is ULN2804, not ULN2004.
The link to the data sheet on the ULN2004 listing i bought from spinatronics says it's a ULN2804 chip. I'm unexperienced in how manufacturers set the numbers on the chips.
Have i bought the wrong chip, or can a ULN2804 driver be used the same way as a ULN2004?
How do i then change my sketch to implement the last two additional pins of the chip?