7 years, 1 month ago.

BLE Gap and Gatt while simultaneously running another piece of code (a loop of PwmOut duty cycles)

I need to be cycling through various values for the duty cycle on a PwmOut, while simultaneously doing BLE GAP and then BLE Gatt if connection established. And then on a particular command received via BLE Gatt, I need to interrupt the current cycle of values and then cycle through another set.

Can this be done? How?

Be the first to answer this question.