Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5251

MicroPython • Re: SPI just Plain not working

$
0
0
when I did the "spi = SPI(0, baudrate=400000); while True: pass" and it didn't work
This code fragment will not start a SPI transmission. It just initializes spi and then waits forever. Have a look to the code proposals above for some improvements.

Statistics: Posted by ghp — Thu Jul 18, 2024 9:17 am



Viewing all articles
Browse latest Browse all 5251

Trending Articles