code: def animate(self, images, delay=.25):
          
          for image in images:
              # Draw the image on the display buffer.
              self.set_image(image)
  
              # Draw the buffer to the display hardware.
              self.write_display()
              time.sleep(delay)
docs: Displays each of the input images in order, pausing for "delay"
          seconds after each image.
  
          Keyword arguments:
          image -- An iterable collection of Image objects.
          delay -- How many seconds to wait after displaying an image before
              displaying the next one. (Default = .25)