Difference between revisions of "Component: Map Function (Calculation)"
From Flowcode Help
Jump to navigationJump to search| Line 48: | Line 48: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 319: | Line 321: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
| − | |||
| − | |||
Revision as of 12:21, 3 February 2023
| Author | medelec35 |
| Version | 2.0 |
| Category | Calculation |
Contents
Map Function component
The map function is intended to change one range of values into another range of values. For example. Output from a temperature sensor is in centigrade. you can map it to give the result in Fahrenheit. To do that set: InMin to 0, InMax 100, OutMin to 32 & OutMax to 212
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/Map-Function.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/Map-Function.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
MapByte
MapFloat
MapInt
MapLong
MapUInt
MapUlong
Property reference
| Properties |