Microprocessor-controlled brushless DC linear stepping motor