Hello everyone

I am attempting to use a sensor from adafruit (VCNL4010 Proximity/Light sensor : ID 466 : $7.50 : Adafruit Industries, Unique & fun DIY electronics and kits) and they have provided example code of how to use it

It doesn't work, my IDE doesn't understand the read8() and read16() commands they use. Can someone help me translate this into something I can run on my Arduino Uno?

Thank you!

The read8() and read16() functions are included in the code on that page you linked to.

Please post the exact code you're trying to compile, and the compiler error messages.

Oh I feel silly I did not see those functions down there, I thought they were supposed to be part of the wire.h library >_<