Just like with the busio SPI class the bitbangio.SPI class is created and told the clock line and MISO line (it can also optionally be told the MOSI line). Notice all these lines are just simple digital I/O pins that you wired above.Now using the software-based SPI bus is exactly the same as with hardware like above! Try the same code: