Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 2 months 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?