code: def display(self, image):
          
          assert(image.mode == self.mode)
          assert(image.size == self.size)
  
          image = self.preprocess(image)
  
          self.command(0x20, 0x80, 0x40)
  
          buf = bytearray(self._w * self._h // 8)
          off = self._offsets
          mask = self._mask
  
          for idx, pix in enumerate(image.getdata()):
              if pix > 0:
                  buf[off[idx]] |= mask[idx]
  
          self.data(list(buf))
docs: Takes a 1-bit :py:mod:`PIL.Image` and dumps it to the PCD8544
          LCD display.