Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RetiredWizard/PyDOS
/ SPI_deinit
Method
SPI_deinit
lib/pydos_hw.py:260–264 ·
view source on GitHub ↗
(self,spiNo=0)
Source
from the content-addressed store, hash-verified
258
# self._I2C_power = None
259
260
def
SPI_deinit(self,spiNo=0):
261
if
self._SPI[spiNo]:
262
263
self._SPI[spiNo].deinit()
264
self._SPI[spiNo] = None
265
266
def
SPI(self,spiNo=0):
267
if
not self._SPI[spiNo]:
Callers
1
blink
Function · 0.80
Calls
1
deinit
Method · 0.80
Tested by
no test coverage detected