aboutsummaryrefslogtreecommitdiffstats
path: root/src/jingle_bells/jingle_bells.pde
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2009-09-28 21:52:42 -0400
committerbnewbold <bnewbold@ziggy.(none)>2009-09-28 21:52:42 -0400
commit05248cfda30b7f9f2f1d51dce3443deb97ae476b (patch)
tree3f2df979e4f89ae7a3bf671774499742e0111557 /src/jingle_bells/jingle_bells.pde
parent0266ef7913c9817bd1c969dc7fe15809042128f0 (diff)
downloadpysqrls-05248cfda30b7f9f2f1d51dce3443deb97ae476b.tar.gz
pysqrls-05248cfda30b7f9f2f1d51dce3443deb97ae476b.zip
PROG ROCK
Diffstat (limited to 'src/jingle_bells/jingle_bells.pde')
-rw-r--r--src/jingle_bells/jingle_bells.pde4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jingle_bells/jingle_bells.pde b/src/jingle_bells/jingle_bells.pde
index d4d49bf..c54bba8 100644
--- a/src/jingle_bells/jingle_bells.pde
+++ b/src/jingle_bells/jingle_bells.pde
@@ -4,7 +4,7 @@
*/
#define LEDPIN 13
-#define OUTPIN 9
+#define OUTPIN 5
#define FREQ_A3 220.00
#define FREQ_AS3 233.08
@@ -113,6 +113,8 @@ void PlayMusicString(char* music, int outputPin){
void setup() {
+ TCCR1B = TCCR1B & 0b11111000 | 0x01;
+ analogWrite(9,12);
}
void loop() {
//Jingle Bells translated from sheet music at