Skip to content

Instantly share code, notes, and snippets.

@sangwonl
Last active March 8, 2017 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sangwonl/01572cb72c451fea81406570e999b7c1 to your computer and use it in GitHub Desktop.
Save sangwonl/01572cb72c451fea81406570e999b7c1 to your computer and use it in GitHub Desktop.
var DashButton = require("node-dash-button");
var dash = DashButton("88:71:e3:88:28:69", null, null, 'all');
dash.on("detected", function () {
console.log("my aws button is clicked!!");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment