* switch from mbed to mbed-src, which works better with my board * list APs and their RSSI * read CC3000 firmware version
Dependencies: cc3000_hostdriver_mbedsocket mbed-src
Fork of cc3000_hello_world_demo_sparkfun by
Diff: main.cpp
- Revision:
- 9:053a5e3e4c06
- Parent:
- 8:f784df013169
- Child:
- 10:b994a1c2b54c
--- a/main.cpp Tue Oct 14 15:27:59 2014 +0000 +++ b/main.cpp Tue Oct 14 22:48:10 2014 +0000 @@ -30,7 +30,10 @@ cc3000 wifi(p9, p10, p8, SPI(p5, p6, p7), "ssid", "key", WPA2, false); Serial pc(USBTX, USBRX); #elif (MY_BOARD == SPARKFUN_WIFI_SHIELD) -cc3000 wifi(D2, D7, D10, SPI(D11, D12, D13), "ssid", "key", WPA2, false); //SparkFun Board on Arduino pin definitions +cc3000 wifi(D2, D7, D10, SPI(D11, D12, D13), "demo", "ARMDEMO1", WPA2, false); //SparkFun Board on Arduino pin definitions +Serial pc(USBTX, USBRX); +#elif (MY_BOARD == ADAFRUIT_WIFI_SHIELD) +cc3000 wifi(D3, D5, D10, SPI(D11, D12, D13), "demo", "ARMDEMO1", WPA2, false); //SparkFun Board on Arduino pin definitions Serial pc(USBTX, USBRX); #endif