measure the moisture value of soil
pin: int. the aio pin which is attached by the sensor
trigger: any type. trigger signal, and whenever it comes, the sensor will measure and report the moisture value.
value: number. the value of the moisture
It measure the moisture in every 1s, and show the value in the LCD