   sendSequence(initsequence);
 }
 
-const int sequenceSize = 500;
-int sequence[sequenceSize + 1];
+const unsigned sequenceSize = 100;
+char sequence[sequenceSize + 1];
 int sequenceAt = 0;
 int prevSequenceSize = 0;
 

  Serial.begin(9600);
}

void sendSequence(const int* seq)
{
  Serial.println("Sending sequence");
  static unsigned long time = micros();

      digitalWrite(out, seq[c]);
      digitalWrite(debug, seq[c]);
      time += 52;
      unsigned int delta = time - micros();
      delayMicroseconds(delta);
    }
  }
