 void loop()
 {
   // clear button
-  BUTT_STATE = digitalRead(BUT);
+  BUTT_STATE = digitalRead(BUTT);
   if(BUTT_STATE == HIGH) {
     Serial.println("Clear");
   }


void setup()
{
  pinMode(BUT, INPUT);
  pinMode(REDPIN, OUTPUT);
  pinMode(GREPIN, OUTPUT);
  pinMode(BLUPIN, OUTPUT);

int TYPE = 0;
int NUMB = 0;
int TIME = 0;
int REPT = 0;

char API;
char R;
