Skip to content
Snippets Groups Projects
Commit dba40afa authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266/modmachine: Simplify SPI class implementation multiplexing.

modpybhspi now does the needed multiplexing, calling out to modpybspi
(bitbanging SPI) for suitable peripheral ID's. modmachinespi (previous
multiplexer class) thus not needed and removed.

modpybhspi also updated to following standard SPI peripheral naming:
SPI0 is used for FlashROM and thus not supported so far. SPI1 is available
for users, and thus needs to be instantiated as:

spi = machine.SPI(1, ...)
parent 7ddd1a58
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment