Jacob Dahleen
/
I2CSong
Project for playing a song on 2 meeds sending notes over I2C
lovesme.h@6:84c34161559e, 2014-02-13 (annotated)
- Committer:
- jad19925
- Date:
- Thu Feb 13 23:18:39 2014 +0000
- Revision:
- 6:84c34161559e
Final project, uncomment either MASTER or SLAVE to run as that
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jad19925 | 6:84c34161559e | 1 | #include "music.h" |
jad19925 | 6:84c34161559e | 2 | #ifndef LOVE |
jad19925 | 6:84c34161559e | 3 | #define LOVE |
jad19925 | 6:84c34161559e | 4 | const float lovesMeTempo = 120; |
jad19925 | 6:84c34161559e | 5 | char loveFrequency[]={G4,E4,E4,D4,E4,G4,G4,A4,A4,C5,A4,A4,G4,G4,G4,E4,E4,D4,E4,G4,G4,A4,A4,G4,C4,E4,D4,C4}; |
jad19925 | 6:84c34161559e | 6 | float loveBeat[]={12,12,12,12,12,12,24,12,12,12,12,12,12,24,12,12,12,12,12,12,24,12,12,12,12,12,12,24}; //beat array |
jad19925 | 6:84c34161559e | 7 | #endif |