Skip to content

Commit c9ab6e7

Browse files
authored
Merge pull request #6 from FAR-Lab/master
removed stop key word
2 parents a29a41f + f13bb4f commit c9ab6e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Installing from PyPI
8888

8989
.. code-block:: shell
9090
91-
pip3 install sparkfun-circuitpython-qwiictwist
91+
pip install git+https://github.com/FAR-Lab/Sparkfun_CircuitPython_QwiicTwist.git
9292
9393
To install system-wide (this may be required in some cases):
9494

sparkfun_qwiictwist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def change_address(self, new_address):
343343
def _read_register8(self, addr):
344344
# Read and return a byte from the specified 8-bit register address.
345345
with self._device as device:
346-
device.write(bytes([addr & 0xFF]), stop=False)
346+
device.write(bytes([addr & 0xFF]))
347347
result = bytearray(1)
348348
device.readinto(result)
349349
if self._debug:
@@ -360,7 +360,7 @@ def _write_register8(self, addr, value):
360360
def _read_register16(self, addr):
361361
# Read and return a 16-bit value from the specified 8-bit register address.
362362
with self._device as device:
363-
device.write(bytes([addr & 0xFF]), stop=False)
363+
device.write(bytes([addr & 0xFF]))
364364
result = bytearray(2)
365365
device.readinto(result)
366366
if self._debug:

0 commit comments

Comments
 (0)