Skip to content

Commit b9c9ec1

Browse files
committed
mod: improved lux reading
1 parent 89b1e1f commit b9c9ec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Arduino_ScienceKitCarrier.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ int ScienceKitCarrier::getInputB(){
276276

277277

278278
/********************************************************************/
279-
/* APDS9960 */
279+
/* APDS99xx */
280280
/********************************************************************/
281281

282282
int ScienceKitCarrier::beginAPDS(){
@@ -291,7 +291,7 @@ int ScienceKitCarrier::beginAPDS(){
291291
else{
292292
apds9999->enableColorSensor();
293293
apds9999->enableProximitySensor();
294-
apds9999->setGain(APDS9999_GAIN_1X);
294+
apds9999->setGain(APDS9999_GAIN_3X);
295295
apds9999->setLSResolution(APDS9999_LS_RES_16B);
296296
apds9999->setLSRate(APDS9999_LS_RATE_25MS);
297297
color_sensor_used = APDS9999_VERSION;

0 commit comments

Comments
 (0)