Software debouncing in a servo motor using myoware muscle sensor

Still no code tags I see

  press = digitalRead(analogRead(button > 300));Make your mind up whether you are doing a digital or analogue read. One or the other, but not both would seem a good idea.

  digitalWrite(12, HIGH); //enable pullups to make pin highWhere does pin 12 come into it ?

  delay(1000);  //delay for debounceThat is a heck of a lot of contact bounce