UCI-HyperXite / inverter-control

0 stars 0 forks source link

Dynamically reorder GPIO outputs to avoid shorting the outputs #22

Closed taesungh closed 7 months ago

taesungh commented 7 months ago

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.