Succesive Aproximation Normalization Filter

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2015-01-22 | updated: 2015-01-22

Purpose: Take a data value where you know the upper and lower limits and "normalize" the data so that it proportionally scales to a binary weighted value.

For instance, say you have a potentiometer that reads 204 on one extreme and 8453 on the other extreme.  ...And the current value is 2834. You want to scale that to a 12-Bit number?  Simply load the Data, BitResolution, RefLOW, RefHIGH variables and call the function.  The returned value will contain the result. 1306 in this case.

Original File Upload
Package icon Succesive-Approx-Norm-Filter-v1.1-DEMO.zip11.95 KB