Events in ADC demo for MQX

Discussion created by anguel on Apr 19, 2013
Latest reply on Apr 25, 2013 by Hua Feng



When I open the ADC example from MQX I see that ADC channel #1 is configured to use LW Events. But when I look at the code it seems to do only dumb polling by calling read() in an endless for loop. The code after the loop that actually seems to block until the event occurs is never reached...

Why is that?