NIELIT O Level Exam

Which command is used to create a delay in the Arduino program?

Which command is used to create a delay in the Arduino program?

Arduino प्रोग्राम में देरी करने के लिए किस कमांड का उपयोग किया जाता है?

A. digitalRead()

B. for()

C. pinMode()

D. delay()




Correct Answer is :

D. delay()



Explanation
The delay() function allows you to pause the execution of your Arduino program for a specified period. For that purpose, the method requires you to supply it with a whole number that specifies how many milliseconds the program should wait.
Latest Current Affairs 2025 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