button.h library not working

Hello all. I'm trying to use the button.h library to program two buttons. I started by just trying to get the example from the arduino playground (see below) to work. I get the error no matching function for call to 'Button::Button(int,int)'. Why doesn't this work? I've installed the button.h library and was able to pick it from the library list and add it to this sketch.

#include <Button.h>

/*
create a Button object at pin 12
connect button between pin 12 and GND
*/
Button button = Button(7,PULLUP);

void setup(){
  pinMode(13,OUTPUT); //debug to led 13
}

void loop(){
  if(button.isPressed()){
	digitalWrite(13,HIGH);
  }else{
	digitalWrite(13,LOW);
  }
}

Why doesn't this work?

Let's ask that question the other way around. Why do YOU think that the Button constructor takes two int values?

I downloaded and installed the button library from arduino-info, copied and pasted your code and your code compiled fine. Check your library installation.

Thanks for the speedy response guys. I deleted the button library i downloaded from the arduino playground and downloaded the library files from arduino-info, moved the button library into my library folder and all is well. I will start using arduino-info for help on my projects. Thanks again. XD