Simple code to demonstrate how to make a Twitter Post (No OAuth required -> via SuperTweet service). MBed will auto-post an initial Twitter message during boot, also useful to discover the microcontroller IP address when using DHCP for the ethernet configuration. Additional button functionality to send custom Twitter message (Pull up resistor connected to P20, button directly to pin and Ground - Push button will set GND to P20). Note: Demo program to be used on the GeekSessionLab Talk (November 2011). http://devrendezvous.com/?lang=en

Dependencies:   EthernetNetIf mbed SuperTweet

twitter_config.h

Committer:
botdream
Date:
2011-10-27
Revision:
0:0cbe113243b8

File content as of revision 0:0cbe113243b8:

// SuperTweet - Twitter account data 
#define YOUR_ACCOUNT    "twitterid"
#define YOUR_PASSWORD   "somepw"