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.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad