Report Bug

QusWhich command is used in Arduino to set 9th pin as output? Qus Arduino में 9वें पिन को आउटपुट के रूप में सेट करने के लिए किस कमांड का उपयोग किया जाता है?


A. int sensorPin=9
B. int sensorValue=9
C. pinMode(9, OUTPUT);
D. digitalWrite(9, HIGH);


Solution
C. pinMode(9, OUTPUT);



Explanation
pinMode() function is used to set the pin and mode. first parameter is Pin number and second is mode i.e. INPUT/OUTPUT
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