This code simulates 2 sensors with 2 push buttons. Every button sends data to a different Channel on Xively. You need to setup your Feed ID and API Key.