Skip to content

Instantly share code, notes, and snippets.

View jkeefe's full-sized avatar

John Keefe jkeefe

View GitHub Profile
//// ARDUINO SKETCH ////
// Based on the NeoPixel "strandtest" example: https://github.com/adafruit/Adafruit_NeoPixel
#include <Adafruit_NeoPixel.h>
#define PIN 6
// Parameter 1 = number of pixels in strip
// Parameter 2 = pin number (most are valid)
@jkeefe
jkeefe / Ornament_LED_Blink.ino
Last active January 1, 2016 10:09
Arduino code for LED ornament. More at http://johnnkeefe.net
@jkeefe
jkeefe / index.html
Last active January 1, 2016 11:28 — forked from eyeseast/index.html
<!doctype html>
<html lang="en">
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'>
<meta charset="utf-8">
<title>wnyc-streets-us</title>
<link href="//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.css" rel="stylesheet">
<script src="//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.js"></script>
/*
* Mood Cube Light
*
* This is a program to subtly change a bedside lamp, driven by
* NeoPixel LEDs, as the days progress through the month to
* provide a visual cue to a woman's point in her menstrual cycle.
* Built by John Keefe at the request of Kristin Keefe.
*
* Some of the codes stands on example code that accompanies the
* the NeoPixel and the Time.h Libraries
/* Heartbeat Hoodie
*
* LED code drawn from Arduino example 01 - Blinking LED
*
* Heartbeat code baed on Heart Rate Badge code by
* Becky Stern for Adafruit Industries ...
* http://learn.adafruit.com/heart-rate-badge/program-it
* ... who based hers on sample code from
* http://learn.parallax.com/KickStart/28048
*
/*
* The Chartbeat LED Bar
* (over Bluetooth)
*
* This is the Desktop/Processing Code
*
* For information about the hardware and other
* code for this project
* see: http://johnkeefe.net/the-charbeat-led-bar
*
/*
* The Chartbeat LED Bar
* (over Bluetooth)
*
* This is the Arduino code
*
* For information about the hardware and other
* code for this project
* see: http://johnkeefe.net/the-charbeat-led-bar
*
<iframe frameborder="0" scrolling ="no" src="http://project.wnyc.org/convent-fire/" width="100%" height="830" ></iframe>
<iframe frameborder="0" scrolling ="no" src="http://project.wnyc.org/ccrb/" width="100%" height="640" ></iframe>