Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@crumpled
crumpled / serialTCLLights.js
Created June 25, 2013 20:49
Use Node to power TCL light strands through Arduino over the serial port.
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],

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: