Skip to content

Instantly share code, notes, and snippets.

View ChrisNolan's full-sized avatar

Chris ChrisNolan

View GitHub Profile
ChrisNolan / PulseSensorAmped_Arduino_7Seg
Created April 5, 2015 23:09
Heartbeat Displayed on 7 segment
View PulseSensorAmped_Arduino_7Seg
>> Pulse Sensor Amped <<
This code is for Pulse Sensor Amped by Joel Murphy and Yury Gitman
>>> Pulse Sensor purple wire goes to Analog Pin 0 <<<
Pulse Sensor sample aquisition and processing happens in the background via Timer 1 interrupt. 1mS sample rate.
PWM on pins 9 and 10 will not work when using this code!
The following variables are automatically updated:
Pulse : boolean that is true when a heartbeat is sensed then false in time with pin13 LED going out.
Signal : int that holds the analog signal data straight from the sensor. updated every 1mS.
ChrisNolan / gist:3268825
Created August 6, 2012 01:19
WiiChuckDemo with 7-Segment Display for button presses
View gist:3268825
* WiiChuckDemo --
* 2008 Tod E. Kurt,
* with code for 7-Segment Display added by Chris
* based on
ChrisNolan / gist:3268581
Created August 6, 2012 00:46
example of using 7-Segment Serial Display
View gist:3268581
// example of using 7-Segment Serial Display
// product available from
// based on code from
// Note: solder wires at Gnd/Vcc & Rx, Rx goes to a digital pin on the arduino.
// Video available at
// Blogged @
#include <SoftwareSerial.h> // Arduino 1.0 included
#define SerInToArdu 2