 
             display.clearDisplay();
             display.setCursor(0,0);
-            menu.render(display, rows);
+            menu.render(display, DISPLAY_ROWS);
             display.display();
         }
     }

static Pano pano(horiz_motor, vert_motor, camera, HORIZ_EN, VERT_EN);

// these variables are modified by the menu
volatile int focal, horiz, vert, shutter, pre_shutter, running, orientation, aspect, shots, motors_enable;
volatile static int stop_running = false;

void button_click(){
    stop_running = true;
}

const int rows = 3;

void setup() {
    Serial.begin(38400);

    display.setTextSize(1);
    Serial.println(F("Ready\n"));
    menu.open();
    menu.render(display, DISPLAY_ROWS);
    display.display();
}

