How to create a dice using external interrupt?

I have an Arduino Uno and I want to create a dice using external interrupt. Please tell me how to do that?

Hi,

jabirfatah91:
I have an Arduino Uno and I want to create a dice using external interrupt. Please tell me how to do that?

Why do you want to use an interrupt? why not just a button press, etc. Are you thinking of 7 LEDs or an actual number display on a 7 seg LED display? How do you think you want to do it. Give us some more details, how good are you with the Arduino as this seems quite simple.

Regards

Mel.

Try again. Explain what you want to do.

I truly do not understand your fixation with interrupts.

You've already been given a simple demonstration code of how to react to an interrupt; writing the code to pick a random number and display it is about three extra lines of code.

AWOL:
I truly do not understand your fixation with interrupts.

I do. He - and most other "newbies" who come here - simply does not know in context what an interrupt is!