This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to control led using pwm during dfu mode (when dfu programming is on going)

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

Parents
  • 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

Reply
  • 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

Children
No Data
Related