Arduino 3 Phase Motor Control