I can't remember for the life of me how to do this lol
i have integer that ranges from -103 to 98. i want it to scale it to range from 0 to 255
there is an arduino function that can do this... any ideas?
I can't remember for the life of me how to do this lol
i have integer that ranges from -103 to 98. i want it to scale it to range from 0 to 255
there is an arduino function that can do this... any ideas?
thank you very much!