NIELIT O Level Exam

Which Function is used for PWM pin in Arduino?

Which Function is used for PWM pin in Arduino?

Arduino में PWM पिन के लिए किस फंक्शन का उपयोग किया जाता है?

A. digitalWrite()

B. serial.print ( )

C. analogWrite()

D. pinMode()




Correct Answer is :

C. analogWrite()



Explanation
The Arduino IDE has a built in function “analogWrite()” which can be used to generate a PWM signal. The frequency of this generated signal for most pins will be about 490Hz and we can give the value from 0-255 using this function.
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