hello guys, i have a project related with ultrasonic sensor, i have no problem when i control just one sensor. but when i start to control more than one hcsr04 sensors it doesn't work simultaneously . what i want to do is the all of the sensors generate the ultrasonic wave and receive the echo at the same time. when i put something in front of #UltrasonicSensor 1 so the buzzer1 will ring, when i put something in front of #UltrasonicSensor2 then buzzer2 will ring and if i put something in front of them all buzzer will ring together. if you guys dont mind please check the pic of my code , if you find any mistakes or have any idea to help me ,it we'll be really good and i appreciate a lot. thanks guys, if you still dont understand what i mean just comment or PM me thanks a lot
-
Categories
-
Platforms
-
Content