   //Set pin modes
   pinMode(lcdSS, OUTPUT);
   pinMode(sdSS, OUTPUT);
-  pinMode(MOSI, OUTPUT);
-  pinMode(MISO, OUTPUT);
+  pinMode(MOSIpin, OUTPUT);
+  pinMode(MISOpin, OUTPUT);
   pinMode(clk, OUTPUT);
   pinMode(PP, OUTPUT);
 

//Set pins for MISO/MOSI/SS/PP
const int lcdSS = 2; //SS for LCD
const int sdSS = 10; //SS for SD card R/W
const int MOSI = 11; //MOSI pin
const int MISO = 12; //MISO pin
const int clk = 13; //Clock pin
const int PP = 5; //Peristaltic pump pin


  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  lcd.print("Test");
}
