Posted on October 21, 2013 at 13:24The original post was too long to process during our migration. Please click on the attachment to read the original post.
And what happens when you stop servicing the IRQ properly after your first 1000 samples?
doubles/floats, inconsistent, but why pick either when the value is 12-bit returned in an 16-unsigned form? The conversion is both exceeding expensive, and pointless. Do the conversion to volts or whatever once, and when you process the data. Use a single multiply with a constant, avoid the divide.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Posted on October 22, 2013 at 07:27 Thanks clive1 for your helpful reply. And what happens when you stop servicing the IRQ properly after your first 1000 samples?
Its simply worked as single conversion mode i.e val[1st_iteration] having some definite value but afterwords its continuously printing 0.00000....
I am attaching output displayed on serial terminal with this post. I will Modify my code as per your suggestions but till I have few doubt...
1)Why it is not performing continuous conversion as in single conversion mode the same code working fine.