Content originally posted in LPCWare by MarcVonWindscooting on Mon Nov 18 12:11:47 MST 2013
Have you tried with a long delay in the seconds range (like your breakpoint does)?
100*1000 loops isn't that much nowadays ;-)
Also, are you sure, the loop is executes as expected? I believe so, too. But to be 100% sure, declare count 'volatile'.
What is the input circiut to your ADC? Voltage divider?