Same microprocessor for programming and for machine control