en:pfw:linear-conversion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:pfw:linear-conversion [2025-02-11 23:29] – albert | en:pfw:linear-conversion [2025-02-12 12:36] (current) – albert | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | A very simple method (no floating point, no algebraic formulas) for | + | ===== Simple linear conversion ===== |
+ | A very simple method (no floating point, no algebraic formulas) for | ||
| | ||
- | --- Example 1, temperature | + | === Example 1, temperature |
Two points are given: Sensor output 400 and 1200 correspond | Two points are given: Sensor output 400 and 1200 correspond | ||
Line 33: | Line 34: | ||
| | ||
- | --- Example 2 --- | + | === Example 2 === |
Sensor | Sensor | ||
Line 40: | Line 41: | ||
(800) | (800) | ||
- | The definition: | + | |
: >CELSIUS ( sensor -- celsius ) 400 - 263 800 */ NEGATE 363 + ; | : >CELSIUS ( sensor -- celsius ) 400 - 263 800 */ NEGATE 363 + ; | ||
en/pfw/linear-conversion.1739312952.txt.gz · Last modified: 2025-02-11 23:29 by albert