Code: Select all
>>> sd=sdcard.SDCard(SPI, PIN_CS)
>>> os.mount(sd, '/SD')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sdcard.py", line 239, in readblocks
File "sdcard.py", line 181, in readinto
OSError: timeout waiting for response
Code: Select all
>>> sd=sdcard.SDCard(SPI, PIN_CS)
>>> os.mount(sd, '/SD')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sdcard.py", line 239, in readblocks
File "sdcard.py", line 181, in readinto
OSError: timeout waiting for response
>>> os.mount(sd, '/SD')
>>> os.listdir('/SD')
['demo.py']
>>> os.statvfs('/SD')
(32768, 32768, 491264, 491262, 491262, 0, 0, 0, 0, 255)