Skip to content

I just tried PWM on the nRF52 and it doesnt seem to work. #316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kriswiner opened this issue Oct 5, 2018 · 1 comment
Open

I just tried PWM on the nRF52 and it doesnt seem to work. #316

kriswiner opened this issue Oct 5, 2018 · 1 comment

Comments

@kriswiner
Copy link

I am using a custom nRF52 development board that works in all respects. Except when I tried to output a PWM signal like:

void setup()
{
pinMode(A2, OUTPUT);
analogWrite(A2, 200);
}

I see zero on A2 (GPIO28). Looks like PWM is busted for the nRF52 DK variant that I am using for my board variant.

Is this a known problem or is there some magic incantation required to get PWM to work with the current Arduino core?

@dlabun
Copy link
Collaborator

dlabun commented Oct 5, 2018

Yup, It's busted.... Take a look at issue #169 and PR #205 for potential fixes

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

No branches or pull requests

3 participants