Port of Adafruit's VCNL4000 library to Spark