Skip to content

Commit b190236

Browse files
committed
fix wrong power-on default for CONTROL register
1 parent c280f64 commit b190236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_apds9960/apds9960.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def __init__(
201201
self._write8(_APDS9960_GCONF4, 0)
202202
self._write8(_APDS9960_GPULSE, 0)
203203
self._write8(_APDS9960_ATIME, 255)
204-
self._write8(_APDS9960_CONTROL, 1)
204+
self._write8(_APDS9960_CONTROL, 0)
205205

206206
# Clear all non-gesture interrupts
207207
self.clear_interrupt()

0 commit comments

Comments
 (0)