sandeepmistry/arduino-nRF5

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

Open

#316 创建于 2018年10月5日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C (288 fork)github user discovery
bughelp wanted

仓库指标

Star
 (952 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南