Report Bug

QusWhich command sets the 9th pin on Arduino as output? QusArduino के pin 9 को output बनाने के लिए कौन-सी command उपयोग की जाती है?


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


Solution
C. pinMode(9, OUTPUT);



Explanation
pinMode() configures an Arduino pin as either INPUT or OUTPUT.

pinMode() का उपयोग Arduino pin को INPUT या OUTPUT mode में configure करने के लिए किया जाता है।
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