I am trying to simulate a model on Proteus where I get to measure the amount of rainfall using Adruino UNO. I have used the following components (See image)
Here is the Adruino Code,
But when I run the code, it does not give any reading. Here is the image,


