I asked about timing issue, I'll check it with native code for precise operation flow. (before I tested through Micro Framework)
Before that, I want to make sure the "SPS" option.
ADS1118 provides 8 types of SPS from 8/sec to 860/sec.
If I set the register as 8SPS, is it average datas in the period?
Like below,
Rate -> 8 : 860 = 1 : (about)107 & Assume that SPS860 data is expressed as data[#]
1st of SPS8's data = the average of data[0]~data[106]
2nd of SPS8's data = the average of data[107]~data[213]
3th of SPS8's data = the average of 107 data[214]~data[320]
...
Thanks, Jiwon.