|
you could sum the values of the bits...
--------------------code-------------------
sensorPower = sensorReadings.bit0 + sensorReading.bit1 + ... + sensorReading.bit8
This would yeild a value between 1 and 8 that would increase and decrease in a linear fashion.
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"
"We can fix it in the software!"
"It's a BROKEN GEAR!"
|