   /* Save this code incase we get a repeat code next time */
   LastCode = code;
   
+  Serial.println(code);
+  
   /* Find the button name for the received code */
   switch (code)
   {

 6  - Motor B pwm
 5  - Motor A pwm
 4  - Ping echo
 3  - (blocked by shield)
 2  - Sound
 1  - not connected (Serial write)
 0  - not connected (Serial read)

    break;
  }

  Serial.println(CodeName);
}

/********************************************************************************
