You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to digitalWrite to both pins when I use them as GPIO1_18 and GPIO1_19. But the analogWrite doesn't work for one of them.
When I run my code for the first time on startup, whichever pin, 1A or 1B is used with analogWrite first, works with PWM for that session and the other one simply won't work.
The text was updated successfully, but these errors were encountered:
I'm trying to use both PWM1A and PWM1B. I am not changing the frequency.
I just use
analogWrite(PWM1A,200,RES_8BIT)
analogWrite(PWM1B,200,RES_8BIT)
I am able to digitalWrite to both pins when I use them as GPIO1_18 and GPIO1_19. But the analogWrite doesn't work for one of them.
When I run my code for the first time on startup, whichever pin, 1A or 1B is used with analogWrite first, works with PWM for that session and the other one simply won't work.
The text was updated successfully, but these errors were encountered: