 
   case LWS_CALLBACK_RECEIVE:
 
-    processTouch((char*) in); 		
+    // **********************************
+    // Process Data Receieved from the Website    
+    // **********************************
+    procWebMsg((char*) in, len); 		
 
     break;
 

  system("/home/root/startAP");

  // Init Galileo HW
  pinMode(led, OUTPUT);
  digitalWrite(led, LOW);

  // Init pin state variables
  int i=0;

//-----------------------------------------------------------
// Process recieved message from the webpage here.... 
//------------------------------------------------------------
void procWebMsg(char* _in, size_t _len) {

  /*
  g_abD[i] = false;      digitalWrite(i, LOW);    
  g_aiP[i] = 0;        analogWrite(i, LOW);    
  */
  
  Serial.print("input: "); 
  Serial.println(String(_in));
    Serial.print("_len: "); 
  Serial.println(String(_len));
  if(String(_in) == "trigger"){
    Serial.println("Trigger found");
    if(currentLED){
      digitalWrite(led, LOW);
