File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ def __init__(
4848 wave_freq = 440 ,
4949 wave_phase = 0 ,
5050 wave_type = "sine" ,
51- spi = board . SPI () ,
52- select = board . D6 ,
51+ spi = None ,
52+ select = None ,
5353 m_clock = 25000000 ,
5454 ):
5555 """Initialize SPI bus interconnect and create the SPIDevice instance.
@@ -63,10 +63,8 @@ def __init__(
6363 Defaults to 0.
6464 :param str wave_type: The "sine", "triangle", or "square" wave shape.
6565 Defaults to "sine".
66- :param busio.SPI spi: The `busio.SPI` definition. Defaults to
67- `board.SPI()`.
68- :param board select: The chip select pin designation. Defaults to
69- `board.D6`.
66+ :param busio.SPI spi: The `busio.SPI` definition. Defaults to None.
67+ :param board select: The chip select pin designation. Defaults to None.
7068 :param int m_clock: Master clock frequency in Hz. Defaults to 25MHz.
7169 """
7270
You can’t perform that action at this time.
0 commit comments