code: public static int rotateCW (int direction, int ticks)
      {
          for (int ii = 0; ii < ticks; ii++) {
              direction = FINE_CW_ROTATE[direction];
          }
          return direction;
      }
docs: Rotates the requested <em>fine</em> direction constant clockwise by the requested number of
  ticks.