Content originally posted in LPCWare by ranaya on Thu Jul 26 10:52:01 MST 2012
Hi gbm, thanx for the quick response...
Here i'm using poling method. AdcRead() waits until conversion's done inside it. Then returns the adcvalue. So the best way is without waiting inside this function, (without calling) execute the same lines in main function, process previous value until the current reading is done am I right ??
What abut the execution time of f_write ? Is there a way to measure it in xpresso platform ? What if f_write() takes longer time than the time for next adc reading execution ?
Thanx