Can I use the internal pull-up resistor with an attachInterrupt at the same time on the same pin?
attachInterrupt(0, CountPulse, RISING);//turn on interrupt for flow sensor on pin 2
digitalWrite(2, HIGH); //turn on pull up resistor for flow sensor on pin 2
Will this do away with the need of the 10K resistor in the example for this sensor:
thanks!