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

MicroPython • Re: Why is my MicroPython script running so slow with SD card?

$
0
0
Is this any different? I changed lines 1 and 3.

Code:

cs = Pin(22, Pin.OUT)spi = SPI(1, baudrate=50000000, sck=Pin(10), mosi=Pin(11), miso=Pin(12))sd = sdcard.SDCard(spi, cs)vfs = uos.VfsFat(sd)uos.mount(vfs, "/sd")

Statistics: Posted by Mike**K — Sat Dec 28, 2024 6:28 pm



Viewing all articles
Browse latest Browse all 4848

Trending Articles