| 5 | #include "ArduinoCompatible.h" |
| 6 | |
| 7 | class Serial Serial; |
| 8 | |
| 9 | long map(long value, long fromLow, long fromHigh, long toLow, long toHigh) { |
| 10 | return (value - fromLow) * (toHigh - toLow) / (fromHigh - fromLow) + toLow; |
nothing calls this directly
no outgoing calls
no test coverage detected