How to not stop sensor data from the delay()

Hi Team,

If i keep delay(5000), Sensor data also stops.

Can we get sensor data even with a delay() ?

RakeshArduino:
Hi Team,

If i keep delay(5000), Sensor data also stops.

Can we get sensor data even with a delay() ?

Yes

See this thread:- Several things at the same time.

and this:- Using millis() for timing

Ian

Yes

Wrong. Neither of those links uses delay().

Yes, if your sensor hardware triggers an interrupt.