We must scale our read values (0 to 1023) to suitable write values (0 to 255).
The math above shows how to derive an equation that allows us to calculate a suitable write value (0-255) from a read value (0-1023) on an arduino microcontroller.
Making The World a Better Place One High Tech Project at a Time. Enjoy!
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok