NIELIT O Level Exam

Statement required in Arduino program to generate one second delay is

Statement required in Arduino program to generate one second delay is

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

A. delay(100);

B. delay(1000);

C. delay(10000);

D. delay(1);




Correct Answer is :

B. delay(1000);



Explanation
In Arduino programming, the delay() function is used to pause the program for a specified number of milliseconds. To generate a one-second delay, you would use delay(1000);, where 1000 milliseconds equals 1 second.
Latest Current Affairs 2024 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