 **/
 void loop()
 {
-  int a =0, i=0, j=0, now, avg, prev, val;
+  int a =0, i=0, j=0, now=0, avg=0, prev=0, val=0;
   sineWave();
   for(i=0;i<20;i++)
    tone(500*i);

void setup()
{
  pinMode(BUZ1, OUTPUT);
  pinMode(BUZ2, OUTPUT);
  pinMode(CLOCK, OUTPUT);
  pinMode(DATA, OUTPUT);
  pinMode(LATCH, OUTPUT);
  analogReference(INTERNAL1V5);
}

// send 16 bits to LED tile (bits 0..7 are column, 8..15 are row) 

      else
      {
        shiftLeft(0); // blank line
        sendImage(image);
        tone(500);
      }
      if ( ++j > 5 ) // next character
