Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 268cd87

Browse files
author
mpratt14
authoredMar 26, 2019
Update FT232H.py
1 parent 1f974c7 commit 268cd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Adafruit_GPIO/FT232H.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def read(self, length):
505505
# Read response bytes.
506506
return bytearray(self._ft232h._poll_read(length))
507507

508-
def readblock(self, data = [], lengthR = 'None', readmode = 1):
508+
def bulkread(self, data = [], lengthR = 'None', readmode = 1):
509509
"""Half-duplex SPI write then read. Send command and payload to slave as bytearray
510510
then consequently read out response from the slave for length in bytes.
511511
Designed for use with NOR or NAND flash chips, and possibly SD cards...etc...

0 commit comments

Comments
 (0)
This repository has been archived.