control of the patterns of the first group by the control block diagram in fig4 a micro computer composed of a central processing unit cpu a read only memory rom a random access memory ram and an input output port i o receives a signal issued from the pulse generator in synchronism with rotation of the upper shaft of the sewing machine and a signal from the pattern selecting part including the pattern selecting push buttons 1 to 10 and gives a signal to a selected one of the pattern selection indicating lamps 1 34 to 10 34 and gives a stitch signal to the electric bight and feed control devices of the sewing machine per rotation of the sewing machine in accordance to a program stored in the memory rom as shown in the flow chart in fig5 thereby to form the stitches of the selected pattern the selection of the patterns of the first and second groups will be explained in reference to fig4 and 5 selection of the first group of patterns can be carried out by pushing the push buttons 1 to 10 that is if one of the push buttons 1 to 10 is pushed in a condition that the switch 13 is not pushed and is in the first position the pattern selecting signal is read into the random access memory ram of the micro computer via the latch circuit 4 to change the value of m1 register for controlling the 7 segment indicating device 11 of said memory and also change the value of m2 register for controlling the indicating device 12 and also change the value of m3 register for controlling the.