addBar method

void addBar(
  1. bool black,
  2. int width
)

@param black A bool which is true if the bar black false if it is white @param width How many spots wide the bar is.

Implementation

void addBar(bool black, int width) {
  for (int ii = 0; ii < width; ii++) {
    _set(_currentLocation++, black);
  }
}