Hi, I´m working on a project were i have to create a new control method to change the polarity on a motor without using a commutator. I already implemented a bridge circuit and that part works fine. I just wanna now how i could get the program to activate and deactivate my relays after exactly half of a rotation