Thanks, @sean_littleBits! The piece of logic I can't quite get right is counting a CloudBits "ping." Using IFTTT, we are successfully -
- listening to tweets via hashtags
- pinging CloudBits at 100% (or another %) for 1 second
- based on that ping AND percentage, we're lighting up a bar graph Bits
However, I have not been able to "count" these pings (aka tweets).
For example, if there's 1 tweet, ping bargraph @ 20%.
If there's another tweet, increment the tweetCounter variable, and increase the brightness bargraph lights. And so on.
The code I've written so far can count Button Presses, which is great. But it's not counting CloudBits "pings."
Thank you for any guidance you can provide (I've also posted to the arduino.cc forums).
FYI - @JackANDJude sent over some useful code here which I'm still wrapping my head around - http://discuss.littlebits.cc/t/twitter-counter-littlebits-and-cloudbits/22902/8