Check out this link, Ladyada bought a digital IR sensor by accident, and found a way to turn it into a analog one. Clever!
And an interesting aspect is that the D version is often cheaper than the A versions.
http://www.ladyada.net/rant/2008/10/quick-tip-analog-signal-from-a-digital-distance-sensor/
rik
2
wow and please
Wow!
And: please save this hack for future reference in one of the exitsting (or a new) component page.
8ik
fritsl
3
And: Please note that
And: Please note that user-posted components can be edited by everybody - wiki-style!
rik
4