sandeepmistry/arduino-nRF5

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

Open

#316 opened on Oct 5, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C (288 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (952 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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?

Contributor guide