jsmith2307 wrote:Greetings,
check with multimeter (voltmeter) potential on pin DIR (p1d1). It must change level from +5V to 0V and back when PWM is changed sign.
I checked the voltage out with the program on oscillator, checked the multimeter set to DCV @ 20volts on
p1d1 to DIR and got ZERO on the readout .
Next I checked the other side on
p2d1 to DIR and got a readout from 4.7 to 0 per/oscillation.
The thing is why did
p1d1 to DIR not give me any thing other than ZERO?
jsmith2307

There are three variants:
1 - in firmware p1d1 assigned to the other pin
2 - it's the ground fault
3 - pin p1d1 of atmega is broken
I recommend disconnect power, to check (with multimeter) the resistance between Ground and p1d1.
After to disconnect AMC from H-bridge and check voltage on p1d1.
And if there is not voltage on p1d1 - reconnect H-bridge to p2d1.
Regards,
Ale