Other Parts Discussed in Thread: CC2640,
Hi,
I've developed a custom board with the CC2640 and adapted the BLE projectZero and ran it on my device. So far I can connect and switch on the LEDs via BLE Scanner.
I read the labs and the user guide and as far as I understood for each BLE - service that I want to impIement I can follow the instructions in the lab and projectzero is an example of how this is done.
I found the for(;;) main loop in projectzero.c, but it is not clear to me where I can write code for tasks that are not related to BLE.
For example I want to read a voltage with the ADC and then dim a LED via a PWM/Potentiometer in the "background". So while being able to send data over BLE, parallel I want to dim the LED with a Poti.
This task already works without the context of the BLE Stack, but where would I insert this code in projectzero, so this task is functioning without interefering with the BLE-functions?
Thank you and best regards, Alex