Hello all, I am stumped by a simple Arduino sketch and I think my trouble is in the driver. I am running a 24v dc motor with a MAX14870 single and an Arduino Uno. I have +24v connected to the VIN pin and ground pin, motor leads connected to M1 & M2 pins, common ground with arduino, D8 (arduino output) connected to PWM pin, D9 (arduino output) connected to DIR pin. I am getting +5v to the PWM pin and 0v to the DIR when the arduino is calling for motor to run, and +5v to the PWM pin and +5v to the DIR, when arduino is calling for the motor to run opposite.
What am I missing?
Any help is greatly appreciated.