Jacob Dahleen
/
I2CSong
Project for playing a song on 2 meeds sending notes over I2C
Diff: main.cpp
- Revision:
- 2:c35c40bae96e
- Parent:
- 1:feca2dfd8753
- Child:
- 3:eb63ba24e2bb
--- a/main.cpp Thu Feb 13 20:24:43 2014 +0000 +++ b/main.cpp Thu Feb 13 20:26:20 2014 +0000 @@ -2,6 +2,9 @@ #include "C12832.h" #include "mario.h" +#define MASTER +//#define SLAVE + BusIn joy(p15,p12,p13,p16); DigitalIn fire(p14); PwmOut spkr(p26); @@ -59,7 +62,7 @@ else if(down){ } -#elif +#elif SLAVE #endif }