Jacob Dahleen
/
I2CSong
Project for playing a song on 2 meeds sending notes over I2C
Revision 2:c35c40bae96e, committed 2014-02-13
- Comitter:
- jad19925
- Date:
- Thu Feb 13 20:26:20 2014 +0000
- Parent:
- 1:feca2dfd8753
- Child:
- 3:eb63ba24e2bb
- Commit message:
- update defines
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 }