This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
>> Pulse Sensor Amped << | |
This code is for Pulse Sensor Amped by Joel Murphy and Yury Gitman | |
www.pulsesensor.com | |
>>> 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* WiiChuckDemo -- | |
* | |
* 2008 Tod E. Kurt, http://thingm.com/ | |
* | |
* with code for 7-Segment Display added by Chris Nolan.ca | |
* based on https://gist.github.com/3268581 | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example of using 7-Segment Serial Display | |
// product available from https://www.sparkfun.com/products/9765 | |
// based on code from http://www.arunet.co.uk/tkboyd/ec/ec1led4x7ser.htm | |
// Note: solder wires at Gnd/Vcc & Rx, Rx goes to a digital pin on the arduino. | |
// Video available at http://www.youtube.com/watch?v=YVMAzYqV4kg | |
// Blogged @ http://chrisnolan.ca/2012/08/05/i-can-solder-7-segment-serial-display-nunchucky-operational/ | |
#include <SoftwareSerial.h> // Arduino 1.0 included | |
#define SerInToArdu 2 |