     
   } while (!digitalRead(returnPin));
 
+}
+
+void chronoView() {
+	Serial.println("Chrono");
+}
+
+void resultsView() {
+	Serial.println("Results");
+}
+
+void checkMenuIndex() {
+	if (digitalRead(nextPin)) {
+		menuIndex++;
+	}
+	if (digitalRead(prevPin)) {
+		menuIndex--;
+	}
 }
 
 void logAndRestart() {

#include <Chrono.h>
#include <LightChrono.h>

const int laserPin = 2;     // the number of the pushbutton pin
const int buzzerPin =  3;      // the number of the LED pin
const int onPin = 4;     // the number of the pushbutton pin

  pinMode(nextPin, INPUT);
  pinMode(setPin, INPUT);
  
  // Chrono initializations
  measurementTimeout.restart();
  chrono.stop();
  
  // Menu initializations
  views[0] = mainMenu;
  views[1] = settingsMenu;
  views[2] = chronoView;
  views[3] = resultsView;
}

void loop() {
