A faster version of Arduino's map() function. More...
#include <IntMap.h>
A faster version of Arduino's map() function.
This uses ints instead of longs internally and does some of the maths at compile time.
Public Member Functions | |
IntMap (int in_min, int in_max, int out_min, int out_max) | |
Constructor. More... | |
int | operator() (int n) const |
Process the next input value. More... | |
|
inline |