Merge pull request #6003 from dhalbert/spi-half-duplex-signature

add half_duplex to busio.SPI signature
This commit is contained in:
Scott Shawcroft 2022-02-10 10:27:14 -08:00 committed by GitHub
commit 5355092e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@
//| multiple secondaries can share the `!clock`, `!MOSI` and `!MISO` lines
//| and therefore the hardware.)"""
//|
//| def __init__(self, clock: microcontroller.Pin, MOSI: Optional[microcontroller.Pin] = None, MISO: Optional[microcontroller.Pin] = None) -> None:
//| def __init__(self, clock: microcontroller.Pin, MOSI: Optional[microcontroller.Pin] = None, MISO: Optional[microcontroller.Pin] = None, half_duplex: bool = False) -> None:
//|
//| """Construct an SPI object on the given pins.
//|