Skip to content

Instantly share code, notes, and snippets.

View haugstrup's full-sized avatar

Andreas Haugstrup Pedersen haugstrup

View GitHub Profile
@haugstrup
haugstrup / lcd.js
Created July 29, 2012 17:15
LCD proof of concept for johnny-five
// Wire up LCD as described here:
// http://learn.adafruit.com/character-lcds/overview
var five = require("johnny-five"),
board, lcd;
board = new five.Board();
board.on("ready", function() {
@rmurphey
rmurphey / gist:3185390
Created July 27, 2012 00:27
shiftOut in javascript
var five = require("johnny-five"),
board;
board = new five.Board();
board.on("ready", function() {
(new five.Led(13)).on();
var dataPin = 2;
var clockPin = 3;