updates aio mqtt auth info in cc3k example

This commit is contained in:
Todd Treece 2015-06-03 17:13:41 -04:00
parent c1302a413c
commit ae0b4778a1
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT, SPI_CLOCK_DIV2); // you can change this clock speed
Adafruit_MQTT_CC3000 mqtt(&cc3000, AIO_SERVER, AIO_SERVERPORT, AIO_CLIENTNAME, AIO_KEY, AIO_PASSWORD);
Adafruit_MQTT_CC3000 mqtt(&cc3000, AIO_SERVER, AIO_SERVERPORT, AIO_CLIENTNAME, AIO_USERNAME, AIO_KEY);
const char PHOTOCELL_FEED[] PROGMEM = "api/feeds/photocell/data/send.json";
Adafruit_MQTT_Publish photocell = Adafruit_MQTT_Publish(&mqtt, PHOTOCELL_FEED);

View File

@ -22,8 +22,8 @@
const char AIO_SERVER[] PROGMEM = "io.adafruit.com";
#define AIO_SERVERPORT 1883
const char AIO_CLIENTNAME[] PROGMEM = "huzzah";
const char AIO_USERNAME[] PROGMEM = "";
const char AIO_KEY[] PROGMEM = "";
const char AIO_PASSWORD[] PROGMEM = "";