I am using the http://www.seeedstudio.com/depot/datasheet/water%20flow%20sensor%20datasheet.pdf
this sensor with ATtiny85.
The datasheet specifies the output as a digital pulse.
I use it as an interrupt and the sensor works perfectly when connected and tested with the digital pin on Arduino.
Because I am already using both the digital pins of ATtiny, I am connecting the sensor to the analogue pin of ATtiny but I am not getting the expected result.
I tried to use the digital pin to debug my code. But I want to make if the sensor is intended to work with digital pin only? or it can also work with the Analogue pin ?