work with timer1, 1:1, 1:1 with 16 bit timer; The reading is a little unstable, but it sends a reading very close to the real one. I think it is for INT readings 0-65535 and the sensor has a reading of 20-290 that exceeds the 8 bit timer 0-255. I had thought the setting was timer0 1:1 1:1 as the base selection.
Ok, at least it begin to work. Play with the Prescaler too.
Martin managed to make it wery flexible.
The att. examble with 8bit Pic work very fine for me, change to your kind of sensor. And for Arduino. Have a look