Urgent - Controlling multiplexer outputs - Sensor Network

You need to do the math in your code. To find out the equations for your particular sensors, you have to refer to their datasheet.