Using Microprocessor in Industrial Applications