I am very new to programming and don’t quite understand much yet. I am trying to use my pixy camera to control a stepper motor controller with the Pixy Pet Robot Code to Arduino uno. I noticed when going through the code and other forums, that it seems to be written for a DRV8835 servo controller, but I am trying to use it for a DRV8825 stepper controller. I was questioning if this would work because when I go into the ZumoMotor.CPP file (I believe it is called) that it is specifying pins 7 & 8 for Direction and 9 & 10 for PWM.
As of right now, it “Chatters” the stepper motors or keeps them in a locked position. Is there something that I would have to do to the code to fix this issue?
The reason I thought I could do this is because of the DIR and PWM pins being declared, the DRV8825 requires a DIR and Step pin.
Thanks for any help,