* 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 MBED_DEMOS

Revision:
7:a4e91e42f008
Parent:
4:2304a105c87f
Child:
8:f784df013169
--- a/main.cpp	Tue Jun 03 08:07:15 2014 +0000
+++ b/main.cpp	Tue Oct 14 15:11:21 2014 +0000
@@ -29,8 +29,9 @@
 #elif (MY_BOARD == MBED_BOARD_EXAMPLE)
 cc3000 wifi(p9, p10, p8, SPI(p5, p6, p7), "ssid", "key", WPA2, false);
 Serial pc(USBTX, USBRX);
-#else
-
+#elif (MY_BOARD == SPARKFUN_WIFI_SHIELD)
+cc3000 wifi(D2, D7, D10, SPI(D11, D12, D13), "ABRACADABRA-2G", "OPENSESAME", WPA2, false); //SparkFun Board on Arduino pin definitions
+Serial pc(USBTX, USBRX);
 #endif
 
 /**
@@ -40,7 +41,7 @@
  */
 int main() {
     init(); /* board dependent init */
-    pc.baud(115200);
+    pc.baud(9600);
 
     printf("cc3000 Hello World demo. \r\n");
     wifi.init();