Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am crumpled on github.
  • I am crumpled (https://keybase.io/crumpled) on keybase.
  • I have a public key ASAc5C24ak395byTrGJXSly1mnsKDltFUQKWrGrTKbBibQo

To claim this, I am signing this object:

@crumpled
crumpled / serialTCLLights.js
Created Jun 25, 2013
Use Node to power TCL light strands through Arduino over the serial port.
View serialTCLLights.js
var SerialPort = require("serialport2").SerialPort;
var _ = require("underscore");
var port = new SerialPort();
var t = true;
var f = false;
var stringInput = 'OX';
var colors = {
red: [0xFF, 0x00, 0x00],
orange:[0xFF, 0x2B, 0x00],
yellow: [0xFF, 0xFF, 0x00],
You can’t perform that action at this time.