 }
 
 void test_image_layers() {
+  epd.setRotation(1);
+
   // Framebuffer
   int16_t w = epd.width();
   int16_t h = epd.height();

  epd.setCustomTiming(k_update_no_blink, 6);

  // Send each image layer
  for (uint8_t i = 0; i < 8; i++) {
    uint8_t mask = (0x01 << i);

    for (int16_t x = 0; x < w; x++) {
      for (int16_t y = 0; y < h; y++) {
        epd.drawPixel(x, y, ((buf[y * w + x] & mask) ? 1 : 0));

    }

    epd.update(k_update_no_blink);

    mask <<= 1;
  }

  delay(DELAY_BETWEEN_IMAGES_MS);
