Gemphet8 ; 8-polyphonic synthesizer control application

Dependencies:   MIDI REnc button mbed

Revision:
7:2398a1835eae
Parent:
6:16aa8fc30ef8
Child:
8:7d67a193582f
--- a/main.cpp	Mon Aug 11 07:51:26 2014 +0000
+++ b/main.cpp	Mon Aug 11 09:18:44 2014 +0000
@@ -8,9 +8,10 @@
  */
 
 #include "mbed.h"
-//#include "button.h"
-//#include "REnc.h"
+#include "button.h"
+#include "REnc.h"
 #include "MIDI.h"
+#include "I2CEEprom.h"
 
 
 // LED (active HIGH)
@@ -60,6 +61,7 @@
 void midi_pc(byte channel, byte number);
 void midi_pbend(byte channel, int bend);
 
+/// midi parameter (82-byte)
 uint8_t midi_params[]= {
     0,0,0,0,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
@@ -68,6 +70,8 @@
 
 DigitalOut myled(LED1);
 MIDI midi(dp16, dp15);
+//I2CEEprom i2crom(sda, scl, addr);
+I2CEEprom i2crom(dp5, dp27, 0xa0);
 
 
 int main()