Hello all,
Four leds are connected to the GPIO (22-25) and gpio are defined and with a simple method within the while loop I can see them working
nrf_gpio_pin_write(GPIO_PIN_22, 1); nrf_gpio_pin_write(GPIO_PIN_23, 1); nrf_gpio_pin_write(GPIO_PIN_24, 1); nrf_gpio_pin_write(GPIO_PIN_25, 1);
Next is to use the PWM and I am looking at the pwm_driver example that comes with the 17.1.0 SDK examples and in the SDK config.h the PWM setup can be seen and modified, however, when looking into my application, I cannot see the setup configuring in the SDK config.h , with regard to the PWM only the following can be seen :" // <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module."
Indeed, I am missing the "nrfx_pwm.c" in the "nRF_Drivers" folder, however, will the "SDK setup" adopt its config, if that file is added?
Anyway, I am not sure where to find the right driver file? Looked at the "legacy" but somehow it is not there, indeed, I am would like to use the onboard PWM hardware, if possible...
Any ideas how to get the files in order and start using the PWM driver?
Any help is much appreciated.
Best.