The Goal I have an old White 1602 knitting machine that uses a light scanner to produce patterns in the knit fabric. The bed of the knitting machine syncs up with the controller via two obsolete rotary encoders and the stitch patterns are produced as a sequence of pulses causes specific needles to be selected. […]
First, you need to figure out where the increases go. Suppose you have 98 needles in work and the pattern says increase 13 stitches evenly across the row.
Compute the approximate placement of the decreases using the following formula:
(current # stitches – # to increase) / # to increase
(98 – 13) / 13
85 / 13
6.53 rounded down = 6