VCNL4020, Fully Integrated Proximity and Ambient Light Sensor with Infrared Emitter, I2C Interface, and Interrupt Function

Dependents:   testVCNL4020 testSensor

Files at this revision

API Documentation at this revision

Comitter:
Rhyme
Date:
Sat Apr 29 07:09:26 2017 +0000
Parent:
0:95952f8fe2b4
Commit message:
Some bad comment formats fixed

Changed in this revision

VCNL4020.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 95952f8fe2b4 -r 4f4cdaf51fc2 VCNL4020.cpp
--- a/VCNL4020.cpp	Wed Mar 29 04:39:07 2017 +0000
+++ b/VCNL4020.cpp	Sat Apr 29 07:09:26 2017 +0000
@@ -264,7 +264,7 @@
 /* Information about fuse program revision used for initial setup/calibration of the device. */
 /* bit[5:0] IR LED current value R/W bits. */
 /* IR LED current = Value(dec.) x 10mA */
-/* Valid Rage = 0 to 20d. 
+/* Valid Rage = 0 to 20d. */
 /* 0 = 0mA, 1 = 10mA, 2 = 20mA (DEFAULT) ... 20 = 200mA */
 /* LED Current is limited to 200mA for values higher than 20d. */
 uint8_t VCNL4020::getFuseProgID(void) 
@@ -313,9 +313,9 @@
 
 /* bit[3] Auto offset compensation R/W bit. Automatic offset compensation */
 /* Enable = 1 = DEFAULT; Disable = 0 */
-/* In order to compensate a technology, package or temperature realted drift
+/* In order to compensate a technology, package or temperature realted drift */
 /* of the ambient light values there is a built in automatic offset compensation function */
-/* With active auto offset compensation the offset value is measured before each 
+/* With active auto offset compensation the offset value is measured before each */
 /* ambient light measurement and subtracted automatically from actual reading. */
 
 /* bit[2:0] Averaging function (number of measurements per fun) */