So in our office we have some cool machines that interact with the web. Servers send strings down to various arduinos that then interact with the world.
Previously we were able to use "client.readString()" to read strings from the server with the ethernet shield. With the new CC3000 shield it doesn't compile with the ".readString()" function in the code. It looks like we can only use .read() but that will not accept strings as an input. The basic set up was:
Code: Select all
if (client.available()) {
String s = client.readString();
Serial.println(s);
}