Mako SHIMURA
/
HeartPulseModify
LED Pierce and pulse program.
Diff: Interrupt.cpp
- Revision:
- 1:171a73d84261
- Parent:
- 0:a78b08608d76
--- a/Interrupt.cpp Sat Jan 11 12:50:28 2014 +0000 +++ b/Interrupt.cpp Sat Jan 11 12:52:56 2014 +0000 @@ -9,7 +9,7 @@ volatile bool firstBeat = true; // used to seed rate array so we startup with reasonable BPM volatile bool secondBeat = true; // used to seed rate array so we startup with reasonable BPM - +//(´・ω・`) void interruptSetup(){ // Initializes Timer2 to throw an interrupt every 2mS. TCCR2A = 0x02; // DISABLE PWM ON DIGITAL PINS 3 AND 11, AND GO INTO CTC MODE