I am abit frustrated about this question.
I have a microcontroller bas on Arduino Micro (ATSAMD21 MO).
I need to connecet a rain gauge to A2. Each time the bucket move a pulse is sent to A2.
A2 measures 1 or 0 and I have to measure 0V, when it's not raining.
I pull down A2 with a 4.7K but I always measure 3.3V at A2, whille I should measure 0V.
How can we explain that?
Now I wunder if I have to put down A2 in the setup() as the following
To make sure to have 0V (LOW state)