Following from #11, even though we should not need to manually introduce a delay, we should still ensure that the rise always occurs after the fall on the GPIO pins for each phase by reordering the calls to gpio_put based on which pin will be rising. The call to set a pin low should occur before the call to set the opposite pin high.
Following from #11, even though we should not need to manually introduce a delay, we should still ensure that the rise always occurs after the fall on the GPIO pins for each phase by reordering the calls to
gpio_put
based on which pin will be rising. The call to set a pin low should occur before the call to set the opposite pin high.