Skip to content

Instantly share code, notes, and snippets.

@SaraJo
Created October 5, 2013 18:35
Show Gist options
  • Save SaraJo/6844554 to your computer and use it in GitHub Desktop.
Save SaraJo/6844554 to your computer and use it in GitHub Desktop.
// These are the interrupt and control pins
#define ADAFRUIT_CC3000_IRQ 3 // MUST be an interrupt pin!
#define ADAFRUIT_CC3000_VBAT 5
#define ADAFRUIT_CC3000_CS 10
Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT,
SPI_CLOCK_DIV2); // you can change this clock speed but DI
#define WLAN_SSID "network"
#define WLAN_PASS "password"
// Security can be WLAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or WLAN_SEC_WPA2
#define WLAN_SECURITY WLAN_SEC_WPA2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment