I had some problems initially getting my wifi to connect.
Since the Adafruit website is covered with warnings about problems with newer IDEs, I'm only using 1.0.6.
First thing to notice is you need to set the serial monitor to 115200.
I modified the buildtest sketch with the pin names as directed, and it was unable to resolve
www.adafruit.com (just waits forever, never times out). I poked around my Wifi router config, and noticed that the address reported by the program (192.168.1.62) was outside the range my DHCP server was supposed to give out (192.168.0.0/24), and the DNS server and gateway (192.168.1.1) were incorrect.
(Also, while my Wifi router could see my tinywifi MAC, it reported that no DHCP address had been assigned).
It appears that part of the Wifi config is saved inside the CC3000 chip. (The instructions for setting a static IP hint at this). I was able to get mine to work by uncommenting the code to activate DHCP:
/* Optional: Revert back from static IP addres to use DHCP.
See note for setStaticIPAddress above, this only needs to be
called once and will be remembered afterwards by the CC3000.
*/
if (!cc3000.setDHCP()) {
Serial.println(F("Failed to set DHCP!"));
while(1);
}
Apparently, if the chip is EVER used for not-DHCP, it remembers it. Kinda whack, because that means that if there was any testing done on the product, it risks leaving weird state behind.
After this change, I successfully received a valid DHCP IP, and the gateway & DNS server set correctly, and the rest of the buildtest program worked.