[Advice needed] Building a small BCD clock.

Thanks.

Alright, I got it working and now I'm experimenting button usage with the ATTiny. Pin 12 is where the button goes and pin 11 is where an LED should light up when the input is high.

int setm;

void setup() {                
  // initialize the digital pin as an output.
  pinMode(9, INPUT);
  pinMode(8, OUTPUT);  
}

// the loop routine runs over and over again forever:
void loop() {
setm = digitalRead(9);    // Read state
    if(setm == HIGH){
      digitalWrite(8, HIGH);
      delay(250);
}
else
{
  digitalWrite(8,LOW);
  delay(250);
    }
}

However, now the LED is low when the button is pressed and when it's not, the LED just blinks. Any advice here?