 // Create the motor shield object with the default I2C address
 Adafruit_MotorShield AFMS = Adafruit_MotorShield();
 // Or, create it with a different I2C address (say for stacking)
-// Adafruit_MotorShield AFMS = Adafruit_MotorShield(0x61); 
+// Adafruit_MotorShield AFMS = Adafruit_MotorShield(0x61);
 
 // Connect a stepper motor with 200 steps per revolution (1.8 degree)
 // to motor port #2 (M3 and M4)

#define ovfPin  2  // this is the pin used for overflow control ( can be either 2 or 10 )
GinSingPoly * poly;

#define GINSING0 0                                      
#define GINSING1 1   
#endif

const int lightSensorPin = 0;

//This is the code required to get GinSing ready to go.
void setupGinSing()
{
  GS.begin(rcvPin, sndPin, ovfPin);               // start the device (required) and enter preset mode
  //For preset mode - change this when going to poly mode
  poly = GS.getPoly();
  poly->begin();                                    // enter presetmode

  poly->setWaveform(GINSING0, SAWTOOTH);
  poly->setWaveform(GINSING1, SAWTOOTH);

  setupGinsingNotes();
}

//These are the notes I want to play with GinSing.
void setupGinsingNotes()
{
  ginsingNotes[0] = C_4;
  ginsingNotes[1] = D_4;
  ginsingNotes[2] = E_4;
  ginsingNotes[3] = F_4;
  ginsingNotes[4] = G_4;
  ginsingNotes[5] = A_4;
  ginsingNotes[6] = B_4;
}
#endif

