Reference Language | Libraries | Comparison | Changes
ArduinoAPDS9960 : APDS class
Sets APDS LED boost to increase the power of the infra-red LED emitters embedded into the sensor. Up to 3 times of the nominal power may be set.
APDS.setLEDBoost(boost_mode)
boost_mode - it’s a number, between 0 and 3, that specify the desired power increase:
0 - sets boost to 100% (this is the default)
1 - sets boost to 150%
2 - sets boost to 200%
3 - sets boost to 300%
1 on success, 0 on failure
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.