function setupTimingPattern (matrix) {
  const size = matrix.size

  for (let r = 8; r < size - 8; r++) {
    const value = r % 2 === 0
    matrix.set(r, 6, value, true)
    matrix.set(6, r, value, true)
  }
}
Add timing pattern bits to matrix

Note: this function must be called before {@link setupAlignmentPattern}

@param  {BitMatrix} matrix Modules matrix