A method of controlling a current of a three-phase electric motor with a three-phase controller. Microcontroller 10 can operate within a special mode in which external circuits may access memory 12 by use of inputoutput pins 18. Rather than utilizing a \u201cnear stake\u201d the method provides for connection of the earth ground tester to the cable shield.