How do you do Now use E: \ Nordic \ nRF5_SDK_12 2.0 \ examples \ peripheral \ pwm_driver \ pca10040 demo5 pwm_driver routine There are two problems:
- How to change the PWM duty cycle, he tried to such a change But no matter use, const
nrf_pwm_values_individual_t / * * / seq_values [] =
{
{m_demo1_step | 0 x8000, 0, 0, 0}.
{0, m_demo1_step | 0 x8000, 0, 0}.
{0, 0, m_demo1_step | 0 x8000, 0}.
{0, 0, 0, m_demo1_step | 0 x8000}
};
2.About PWM pin configuration on the official 52832 development board, p0.00 p0.01 p0.06 cannot output PWM, PWM pins have restrictions can not every IO mouth?