MAP Function Not Working Correctly

Thanks blh64

Perhaps that’s it, I’ll give it a try tomorrow, am I better to just use an “int” can’t use the “const int” ?

@ardly - I had tested the “in” and “out” values that’s just what I tested last and had saved the code.