Andy Lehmann
New Member
Hi
I want to scale my potentiometer values from "0-255" to "0-100" because I want to display it on the LCD display as a percentage, which would normally require multiplying the variable by 0.39..... but you can't do that very easily(I don't know how).
If anyone could let me know how to scale stuff and or multiply by decimals or send me a link to somewhere I could find out easily it would be greatly appreciated.
Andy
I want to scale my potentiometer values from "0-255" to "0-100" because I want to display it on the LCD display as a percentage, which would normally require multiplying the variable by 0.39..... but you can't do that very easily(I don't know how).
If anyone could let me know how to scale stuff and or multiply by decimals or send me a link to somewhere I could find out easily it would be greatly appreciated.
Andy