aboutsummaryrefslogtreecommitdiffstats
path: root/src/jingle_bells/jingle_bells.pde
diff options
context:
space:
mode:
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