Basic Interrupt Question

Hi there,

I have an arduino uno (just starting out) and I am a little confused about the "attachInterrupt(interrupt, ISR, mode)" function. The first parameter is described as "the interrupt number"; what do they mean by that?

I am just trying to have a counter running in loop() and have an led turn on when my switch changes status.

Thanks!

Did you read the page you linked?
Interrupt zero, pin two, interrupt one, pin three on a Uno

Are you planning on using an interrupt because you want to understand how they work or because you think you need an interrupt to do what you want ?