Skip to content

Conversation

@per1234
Copy link
Collaborator

@per1234 per1234 commented Jul 2, 2019

A true square wave is only created by a PWM duty cycle of 50%. At any other duty cycle setting (including 50%), analogWrite() will create a rectangular wave.

Reported at:
https://forum.arduino.cc/index.php?topic=624267

A true square wave is only created by a PWM duty cycle of 50%. At any other duty cycle setting (including 50%), analogWrite() will create a rectangular wave.
@robsoncouto robsoncouto merged commit 49450b2 into arduino:master Jul 3, 2019
@robsoncouto
Copy link
Contributor

Thanks! Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants