 void runCommand(int s, int e){
 
   #ifdef debug 
-    Serial.println("Press "+String(buf).substring(s,e));
+    Serial.println("Press '"+String(buf).substring(s,e)+"'");
   #endif
   
   if(s == e) Keyboard.press(buf[s]);

#include <SD.h>
#include "Keyboard.h"

//#define debug true // <-- uncomment to turn serial output on
#define CSpin 4 //Chip-Select of the SD-Card reader
#define buffersize 256


  else if(equals(s,e,"F11")) Keyboard.press(KEY_F11);
  else if(equals(s,e,"F12")) Keyboard.press(KEY_F12);

  else if(equals(s,e,"NUM_0")) Keyboard.write(KEYPAD_0);
  else if(equals(s,e,"NUM_1")) Keyboard.write(KEYPAD_1);
  else if(equals(s,e,"NUM_2")) Keyboard.write(KEYPAD_2);
  else if(equals(s,e,"NUM_3")) Keyboard.write(KEYPAD_3);
  else if(equals(s,e,"NUM_4")) Keyboard.write(KEYPAD_4);
  else if(equals(s,e,"NUM_5")) Keyboard.write(KEYPAD_5);
  else if(equals(s,e,"NUM_6")) Keyboard.write(KEYPAD_6);
  else if(equals(s,e,"NUM_7")) Keyboard.write(KEYPAD_7);
  else if(equals(s,e,"NUM_8")) Keyboard.write(KEYPAD_8);
  else if(equals(s,e,"NUM_9")) Keyboard.write(KEYPAD_9);
  else if(equals(s,e,"NUM_ASTERIX")) Keyboard.write(KEYPAD_ASTERIX);
  else if(equals(s,e,"NUM_ENTER")) Keyboard.write(KEYPAD_ENTER);
  else if(equals(s,e,"NUM_Minus")) Keyboard.write(KEYPAD_MINUS);
  else if(equals(s,e,"NUM_PERIOD")) Keyboard.write(KEYPAD_PERIOD);
  else if(equals(s,e,"NUM_PLUS")) Keyboard.write(KEYPAD_PLUS);
  else if(equals(s,e,"NUM_SLASH")) Keyboard.write(KEYPAD_SLASH);
  
  //not implemented
  //else if(equals(s,e,"APP")) Keyboard.press();
  //else if(equals(s,e,"MENU")) Keyboard.press();
