Skip to content

Help requested for PWM using multiple pins with different duty cycles #2080

Answered by earlephilhower
heliophagus asked this question in Q&A
Discussion options

You must be logged in to vote

Some code samples would be helpful. analogWrite can set a different PWM duty cycle (that's what analogWrite does) to 16 different GPIOs at the same time (with the usual RP2040 PWM generator limitations about not all pins being individually controllable...see the datasheet because it's well explained there).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by heliophagus
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants