Can I use VCNL4000 for contactless tachometer?


Just wondering if I could use VCNL4000 Infrared Proximity sensor I bought from Sparkfun (SparkFun Infrared Proximity Breakout - VCNL4000 - BOB-10901 - SparkFun Electronics) for a contactless tachometer? I want to measure RPM and this is the only IR sensor I have.

I tried programming it based on a post on bildr but the the code is too complicated to modify. The sensor can read ambient light and proximity.