The first is the "send tweet" sketch, the second is a thermistor sketch. The thermistor sketch calculates different values on A0 and then converts the value to a temp. What I would like to do, but am not sure how, is have the temperature value from the Thermistor part of the sketch go out as a Tweet using the CC3000 board.
this is the part of the "send tweet" example sketch that I would like to input my temperature reading and send out as a tweet.
Code: Select all
void loop() {
unsigned long t = millis();
// For now this just issues a fixed tweet. In reality, you might want to
// read from some sensors or that sort of thing, then nicely format the
// results into a buffer to be passed to the sendTweet() function.
sendTweet("Adafruit IoTa test. Tweet directly from Arduino...no proxy, no wires! http://www.adafruit.com/products/1469");
so instead of sendTweet("Adafruit IoTa test. Tweet directly from Arduino...no proxy, no wires! http://www.adafruit.com/products/1469");
I would like it to say something like sendTweet("the temp is (temp reading));
has anyone played around with getting tweets to go out showing sensor readings and want to share?