Hi There,
How to control led using pwm during dfu mode (when dfu programming is on going).
HW:PCA10056
SW: nRF5_SDK_15.2.0_9412b96
Example: ble_app_buttonless_dfu
Hi There,
How to control led using pwm during dfu mode (when dfu programming is on going).
HW:PCA10056
SW: nRF5_SDK_15.2.0_9412b96
Example: ble_app_buttonless_dfu
I think it is just to add it to the main function of your program, look at an example with LED's controlled by PWM and add it to your project. The dfu activity is dependent on BLE events passed to ble_event_handler() in nrf_dfu_ble.c, and will execute in the background.
The open_bootloader_usb_mbr example implement LED's controlled by PWM (look at led_softblink.c) if that is of interests.
Best regards,
Simon
I think it is just to add it to the main function of your program, look at an example with LED's controlled by PWM and add it to your project. The dfu activity is dependent on BLE events passed to ble_event_handler() in nrf_dfu_ble.c, and will execute in the background.
The open_bootloader_usb_mbr example implement LED's controlled by PWM (look at led_softblink.c) if that is of interests.
Best regards,
Simon