Permalink
Browse files

Updated ALT_TwitterWebClient in ch 9 to current Stream API

  • Loading branch information...
tigoe committed Mar 19, 2013
1 parent e88c089 commit 5cd753d99005fb0370162f854be96bfd686985cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 chapter9/project27/ALT_TwitterWebClient/ALT_TwitterWebClient.ino
@@ -185,7 +185,7 @@ int readResponse() {
// TextFinder response(client);
// see if the response from the server contains <text>:
if (client.find("<text>")) {
client.readCharsUntil('<', tweetBuffer, 141);
client.readBytesUntil('<', tweetBuffer, 141);
// print the tweet string:
Serial.println(tweetBuffer);
// make a String with padding on both ends:

0 comments on commit 5cd753d

Please sign in to comment.