-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Thanks a lot for your work. Its very helpful.
I have a query based on your codes.
(ref link: https://github.com/OpenLabTools/RPi_ADS1115/blob/master/code/continuous_read_adc.py ).
Line 18, asks for user defined sampling frequency.
And then in Line 43, this 'user defined sampling frequency ' is used to define time step ( as mentioned in line 22) and save it in csv file.
Line 19, asks for sapling rate (sps) of the ADC convertor i.e. ADS1115 (which can be any one of 8, 16, 32, 64, 128, 250, 475, 860 sps).
And then In line 27, ADC conversion is done wrt to this sps as mentioned in line 19.
However, as per my understanding, sapling frequency and sampling rate are same.
So how can we have two different inputs ?
If you could please let me know where is my understanding going wrong, I would be very appreciative.