CC3000 and D13

Using a CC3000 board, and an Uno clone, I have managed to get other non blynk examples of wifi connectivity to work.

I know that D13 is the internal LED pin,

I have Blynk connected to the board using the following ino code:


 #define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
 // These are the interrupt and control pins for СС3000
 #define ADAFRUIT_CC3000_IRQ   3
 #define ADAFRUIT_CC3000_VBAT  5
 #define ADAFRUIT_CC3000_CS    10
 #include <SPI.h>
 #include <Adafruit_CC3000.h>
 #include <BlynkSimpleCC3000.h>
 // You should get Auth Token in the Blynk App.
 // Go to the Project Settings (nut icon).
 char auth[] = "my code";
 // Your WiFi credentials
 char ssid[] = "SSID";
 char pass[] = "PASS";        // Set to "" for open networks
 void setup()
 {
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass, WLAN_SEC_WPA2);
  // Or specify server using one of those commands:
  //Blynk.begin(auth, ssid, pass, "server.org", 8442);
  //Blynk.begin(auth, ssid, pass, server_ip, port);
 }
 void loop()
{
  Blynk.run();
}

however when I assign a toggle switch to D13 I can not get the LED on D13 to toggle on or off, am I over looking anything?

I also checked the serial console. There were no errors reported. Or any updates past the initial successful handshaking.

Which WiFi board exactly are you using? Is it present inthe list of supported hardware?

It is a Adafruit CC3000 clone. It uses the TI chipset. The serial consol shows a good connection to the blynk servers.

Maybe because cc3000 uses that pin?

The pins used by the shield are as follows:

2 (INT) is the interrupt pin that the CC3000 uses to notify the Arduino that it has data.

7 (EN) is the enable pin that the Arduino uses to turn the CC3000 off and on.

8 (SDCS) is the chip select for the SD card.

10 (CS) is the chip select for the CC3000.

11 (MOSI) is the SPI communication line from the Arduino to the CC3000.

12 (MISO) is the SPI communication line from the CC3000 to the Arduino.

13 (SCK) is the SPI clock line.

Cunning in a bad way, will wire up an LED and test it again.

so pin 13 is actually not usable (is used for a different function).
Try using another, free pin and connect a LED + resistor to it.