Hi,all.i want to use pwm in my code.And i init pwm with APP_PWM_INSTANCE(PWM1,1),then i get an error:identifier "TIMER1_INSTANCE_INDEX" is undefined.Can someone help me ?
Hi,all.i want to use pwm in my code.And i init pwm with APP_PWM_INSTANCE(PWM1,1),then i get an error:identifier "TIMER1_INSTANCE_INDEX" is undefined.Can someone help me ?
i found it,in nrf_drv_config.h,enabled option.
Can I know how to enable the nrf_drv_config.h? I have include it in main.c, but the error continues.
Can I know how to enable the nrf_drv_config.h? I have include it in main.c, but the error continues.