Phase sequence indicator

The time lag between phase A and phase B is t=0.02/3=0.0067 seconds which is the positive

(RYB)sequence.And again, the time lag between phase A and phase C is t=0.02/3*2=0.013 seconds still

showing the positive (RYB) sequence. Otherwise, if the time lag between phase A and phase B is

t=0.02/3*2=0.013 seconds that’s a negative (RBY) sequence. I want to programme the arduino based on

these principles, i have zero knowledge on programming. Need help with the codes