In loop (), I read the data from the sensors every minute and print it out on the LCD. I have a delay between measuring different sensors so that the text on the display stays visible longer. The problem is that when using delay and therefore minute data, pressing the HIGH button does not work, because in loop () it is at the beginning and responds best outside the minute data when the sensors do not measure.
Can't the reaction of pressing the button be solved outside the loop, so that the pressing works without what happens in the loop? To work right away without any circumstances?