Mako SHIMURA
/
HeartPulseModify
LED Pierce and pulse program.
Revision 1:171a73d84261, committed 2014-01-11
- Comitter:
- asagin
- Date:
- Sat Jan 11 12:52:56 2014 +0000
- Parent:
- 0:a78b08608d76
- Commit message:
- interrupt is not understandable.
Changed in this revision
Interrupt.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a78b08608d76 -r 171a73d84261 Interrupt.cpp --- 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