Hello!
I am using an saadc examole to get sensor value using AIN3 and sending it on ble but now i want to make it interrupt base example can someone help me out how to do this????.
Thanks.
Hello!
I am using an saadc examole to get sensor value using AIN3 and sending it on ble but now i want to make it interrupt base example can someone help me out how to do this????.
Thanks.
If you are referring to the interrupt from the SAADC, you should place the code in the saadc_callback().
The time between each timer event is given by the SAADC_SAMPLE_RATE.
I linked to the IRQHandler in the SAADC driver in my previous comment.