sparkfun / SparkFun_APDS-9960_Sensor_Arduino_Library

SparkFun APDS-9960 RGB/Gesture Sensor Arduino Library
Other
81 stars 63 forks source link

Allow reading status register #13

Closed tcirstea closed 4 years ago

tcirstea commented 4 years ago

Allow reading the status register. This register is important in determining if the value of the ALS and proximity sensor is valid.

Not changing the read functions since I assume there was a reason that the status register was not checked (performance?).

AndyEngland521 commented 4 years ago

Hi @tcirstea ! First of all, thanks so much for your work! SparkFun loves it! I've got a board waiting for me at the office that I need to go pick up to test your PR but it looks good from here. You are absolutely correct in that we don't check status every read for performance sake. Anyways, can I get you to bump the version number in library.properties up to 1.4.3 for the Arduino library manager's sake? Thanks, Andy

tcirstea commented 4 years ago

Hey @AndyEngland521 any idea when you'll be able to check on this?