Code:
temp would just be a snapshot of which phase(s) are high at any one time, not representing the rotation (or phase relationship) of the phases. Please correct me if i'm wrong.
True. What I've done is take an instantaneous snapshot of the phases and check. But, as you say, the induced voltage part.... I did not know.