   
   // print buffer in HEX to the console:
   /*
-  Serial.print(F(" ["));
+  print(F(" ["));
   for(int i=0; i<len; i++)
   {
-      Serial.print(" 0x"); Serial.print((char)buffer[i], HEX); 
+      print(" 0x"); print((char)buffer[i], HEX); 
   }
-  Serial.println(F(" ]"));
+  println(F(" ]"));
   */
 }
 

    // ====== END ==== Bluefruit UART SETUP ======
    
    // ====== BEGIN == Start Serial Console ======
    Serial.begin(9600); // print smart stuff to the console
    delay(1000);
    Serial.println(F("nRF8001 CommandInterpreter Demo"));
    // ====== END ==== Start Serial Console ======
    
    // ======  ==============================


// ====== CUSTOM PIN SETUP ======
#define ledPin 3

// define next line to do serial debugging
//#define ACTIVATE_SERIAL 1

#ifdef ACTIVATE_SERIAL
  #define sbegin(x) Serial.begin(x)
  #define sprint(args...) Serial.print(args)
  #define sprintln(args...) Serial.println(args)
#else
  #define sbegin(x)
  #define sprint(args...)
  #define sprintln(args...)
#endif

// ====================================
// ===== COMMAND INTERPRETER      =====
