The motor controller works on bench, as expected
It is ready now for test in the machine.
If all goes well after tweaking speed, I will need to figure out how to get rid of 5 sec delay (used by bootloader) so the main code starts immediately after power-up.