Soil Moisture Sensor Common Code Common code for the soil moisture sensor, shared between the leaf and main nodes.