MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / map

Method map

libraries/FastMap/FastMap.h:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 bool init(float in_min, float in_max, float out_min, float out_max);
21
22 float inline map (const float value) { return _base + value * _factor; }
23 float inline back (const float value) { return _backbase + value * _backfactor; }
24
25 float constrainedMap(const float value);

Callers 4

constrainedMapMethod · 0.95
lowerConstrainedMapMethod · 0.95
upperConstrainedMapMethod · 0.95
unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36