hello,
my pfe consists in creating a smart house. so I used several sensor and several servo and leds, and all are controlled by an android application, the cabling is now complete but the problem is that if the pir sensor detect movement then the buzzer and the red led is activated with a delay of 10 s, even for the ultrasonic, flame sensor and the mq-2.
also if I open one of the door with the application then the action takes a time of 10 s or more to run ..
same problem for leds ..
NB: no delay use.
I need help and thank you all
You need to change the code that you didn't post to get rid of all calls to delay()
thanks for replay.
but i don't use any delay. 1
That's great.
Hope the rest of it goes as well