Thanks in advance for the help.
I decided to try and make the "Kitty Twitter" box that was featured in Make Magazine #22. My friends have 4 cats, so I figured it would be a neat gift.
One problem I ran into immediately was that the Twitter Library doesn't compile in versions of the Arduino environment after 018. Trying to include the Ethernet library didn't work, including the SPI library didn't work, but everything seems to compile just fine in the 018 environment.
In the kitty twitter project, the tweets are generated by using the string library to assemble a tweet from a random selection from 3 groups of words. I can't do that because it looks like the string library is no longer available for download since it's now included (??) in versions of the Arduino environment starting with 019.
What I'd rather do is create a set of phrases, have the program randomly select one of those phrases, and tweet that. Actually, I don't even care if it's random. It can go through each message sequentially, just so long as it doesn't try to post the same thing twice (not allowed by Twitter, so far as I can tell).
So, something like
msg 1 = "message 1" msg 2 = "message 2" .... msg 50 = "message 50"
I'd like to have my program somehow select one of those (msg 1 thru 50) and use it in the twitter.post(msg[sequential or random]). I can't figure out how to do that.
How can I write a program that will select a random (or sequential) preset phrase to post to twitter upon a trigger?
Why isn't the string library available for download anymore? Does no one use older versions (before 019) of the environment?
Why doesn't the twitter library (the example "simple post" won't even compile) work in environments after 018?
Thanks again. Let me know if I need to be more specific.