constant for delay

First, please use the button when posting code :slight_smile:

Declare the constant outside of any function. This way it has 'global scope' and can be referred to in all functions.