I presume you have connected the input of your integrator to the FAN- pin of the FAN0 connector. Did you also connect a pullup resistor between FAN- and +5V?