Skip to content

Commit 086d543

Browse files
committed
Change sensor setup
Change the control mode setup to match the TLV493D User Manual section 5.5
1 parent e6030b9 commit 086d543

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adafruit_tlv493d.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,8 @@ def __init__(self, i2c_bus, address=_TLV493D_DEFAULT_ADDRESS, addr_reg=0):
9090

9191
# setup MASTERCONTROLLEDMODE which takes a measurement for every read
9292
self._set_write_key("PARITY", 1)
93-
self._set_write_key("PARITY", 1)
93+
self._set_write_key("FAST", 1)
9494
self._set_write_key("LOWPOWER", 1)
95-
self._set_write_key("LP_PERIOD", 1)
9695
self._write_i2c()
9796

9897
def _read_i2c(self):

0 commit comments

Comments
 (0)