Answer to Question #268819 in C++ for Kamo

Question #268819

What scale value would you use with analogWrite() to generate a average vlotage of 3V on PWM pin 10 ?

1
Expert's answer
2021-11-19T17:09:56-0500

Writes an analog value to a pin (PWM wave). It can be used to control the brightness of an LED or the speed of a motor. The pin will generate a constant rectangular wave of the given duty cycle after a call to analogWrite() until the next call to analogWrite(). Write() (or a call to digital) is a method for writing data to a file. On the same pin, use Read() or digitalWrite(). The scale value can be 40.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS