NIELIT O Level Exam

Which parameter is taken through pulseln() in ultrasonic sensor?

Which parameter is taken through pulseln() in ultrasonic sensor?

अल्ट्रासोनिक सेंसर में pulseIn() के माध्यम से कौन सा पैरामीटर लिया जाता है?

A. Voltage वोल्टेज

B. Frequency फ्रीक्वेंसी

C. Time Duration समय अवधि

D. Distence डिस्टेंस




Correct Answer is :

C. Time Duration



Explanation

The duration of the echo pulse in microseconds (µs)

duration = pulseIn(echoPin, HIGH);

  • echoPin → the pin connected to the Echo pin of the sensor
  • HIGH → measure the time the pin stays HIGH
  • duration → result is in microseconds
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad