        // Read.
        int n = client.read(buffer, 15, 1);
        if (n < 0){
-//         Serial.println(F("Error data received..."));
+         Serial.println(F("Error data received..."));
        }
        client.write(buffer,15,1);
        Serial.println(buffer);

void loop(void)
{
  // Try to get a client which is connected.
  Adafruit_CC3000_ClientRef client = echoServer.available();
  if (client) {
     // Check if there is data available to read.
     if (client.available() > 0) {


#define LISTEN_PORT           18001    // What TCP port to listen on for connections.  The echo protocol uses port 7.

Adafruit_CC3000_Server carServer(LISTEN_PORT);

// DC motor on M1
AF_DCMotor motor1(1, MOTOR12_1KHZ);
AF_DCMotor motor2(2, MOTOR12_1KHZ);

int fastSpeed = 120;
int slowSpeed = 80;

void setup(void)
{
  Serial.begin(9600);
  
  motor1.setSpeed(fastSpeed);
  motor2.setSpeed(fastSpeed);
  motor1.run(RELEASE);
  motor2.run(RELEASE); 
  
  Serial.println(F("Hello, CC3000!\n")); 

