I want to show in % the soil humidity but Another problem is i dont think the soil resistance increase is linear so maybe i do this for nothing
Check my multiMap() on the playground, it is invented for non linear thingies. See - http://playground.arduino.cc/Main/MultiMap -
(time for a cup of tea