Welcome! Log In Create A New Profile

Advanced

Need help with finding the 16x over sampling code

Posted by terramir 
Need help with finding the 16x over sampling code
May 15, 2018 09:42AM
I'm working on re-writing my toaster oven reflow code.
Would like to use the 16x over sampling code from marlin.
But honestly I cannot find the routine and where the math is done.
Would like to be able to check temp, and have it spit back the
Temperature.
I looked at the application notes i dun quite understand what they mean by right shifting
So I'd like to copy and paste the retrieve and math routine.
Marlin only uses what 20 -30 data points in the lookup table
How does it get a temperature of for example 200.1 from a table that has only 20 points
Can someone point me to the relavent code sections???
terramir
Sorry, only registered users may post in this forum.

Click here to login