Topic: scaling data?
(Read 437 times)
Apr 12, 2013, 12:48 am
hey guys...i normally try not to disturb the arduino team unless i really cant find something...weeeel nows one of those times haha...basically im looking for help on "scaling" my the range of data to fit another range if that makes any sence...for example, the PWM signal is 8 bits so thats a resolution of 256..and an LDR could be from 5 to 560 or something random (example) how would i get the sensor information to fit that resolution in my code as evenly as possible? i have no idea what it would be called so i couldnt google it exactly...thanks in advance:)
Seattle, WA USA
Re: scaling data?
Apr 12, 2013, 01:08 am
how would i get the sensor information to fit that resolution in my code as evenly as possible?
The art of getting good answers lies in asking good questions.