I'm using NodeMcu along with pulse sensor to monitor the values.
Currently I'm using this simple code
This code monitors and provides the values after giving a delay of 5 seconds after each value.
I want the modify the code in such a way that the NodeMcu will continuously monitor for 10 mins without any delay. After 10 mins, a delay of 5 seconds will occur. Again the NodeMcu will monitor for 10 mins and this way it will continue. I can't find a way to do that. Is there any way to do this ??