Sewing machines having electronic memory or microprocessor control unit characterised by control of operation of machine