1.

What type of signal does the analogWrite() method generate when a pin is set to OUTPUT mode?(a) Digital Signal(b) Pulse Code Modulated Signal(c) Pulse amplitude Modulated Signal(d) Pulse Width Modulated SignalI have been asked this question in examination.Enquiry is from Setting Pin Mode topic in chapter Arduino Programming of Arduino

Answer»

Correct answer is (d) PULSE Width Modulated Signal

The best I can EXPLAIN: The analogWrite() method in Arduino is used to generate a Pulse Width Modulated Signal since the digital circuitry in the Arduino does not allow for generation of true continuous analog WAVES. So THEREFORE, the PWM Signal is used.



Discussion

No Comment Found

Related InterviewSolutions