     case 16750695:
       button="100+";
       buttonId = 50695;
-      buttonVal = 143007
+      buttonVal = 143007;
       break;
     case 16756815:
       button="200+";

    if (buttonVal != 0){
      Serial.println(button);
      Serial.println(buttonId);
      Serial.println(convertToOct(buttonId));
      Serial.println("");
      patternPicker(buttonVal);
    }
  }
  someNum = someNum + 1;
}

}

void patternPicker(int x) {
  separate(x);
  for (int i = 0; i < 6; i++) {
    if (nums[i] = 0) {
      p0();
      Serial.println(nums[i]);
      delay(200);
    } else if (nums[i] = 1) {
      p1();
      Serial.println(nums[i]);
      delay(200);
    } else if (nums[i] = 2) {
      p2();
      Serial.println(nums[i]);
      delay(200);
    } else if (nums[i] = 3) {
      p3();
      Serial.println(nums[i]);
      delay(200);
    } else if (nums[i] = 4) {
      p4();
      Serial.println(nums[i]);
      delay(200);
    } else if (nums[i] = 5) {
      p5();
      Serial.println(nums[i]);
      delay(200);
    } else if (nums[i] = 6) {
      p6();
      Serial.println(nums[i]);
      delay(200);
    } else if (nums[i] = 7) {
      p7();
      Serial.println(nums[i]);
      delay(200);
    }
  }
}
