Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PubNub/Tessel Super-Simple LED Integration
var pubnub = require("pubnub").init({ publish_key: "demo", subscribe_key: "demo" });
var tessel = require("tessel");
pubnub.subscribe({ channel: "tessel-light", message: function(m) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment