Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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