Interrupt

Hi i am using the mfs library to write messages to the 4 x 7 segment display.

The message i am displaying is,

MFS.write("EaN"); //Enter a Number definition

I would like to know how i can have this message just displaying on the display, but when the count button is pressed, have the count value displayed. after a short period (3-5 seconds) if the button is not pressed, i would like the same message to be displayed.

How would i do this?

NOT with an interrupt. But you can (and should) use millis() to do the timing :slight_smile:

Have a look at Blink without delay (IDE example) and Several things at the same time.

Suggest you go back and modify your first post here, remove the word "Interrupt" from your title since it is completely irrelevant and replace it with a succinct description of what you want to do such as "Display respond to button press".