尝试读取我的SD卡时出现以下错误:
OverflowError:此版本不支持long int
我的代码是:
SD_CS = board.SD_CS # setup for M0 Adalogger; change as needed
# Connect to the card and mount the filesystem.
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
cs = digitalio.DigitalInOut(SD_CS)
sdcard = adafruit_sdcard.SDCard(spi, cs)
vfs = storage.VfsFat(sdcard)
storage.mount(vfs, "/sd")