Skip to content

Micropython SDCard for T-RGB Board #41

@He-Peter-Huang

Description

@He-Peter-Huang

I'm using the LilyGo T-RGB, I'm having trouble setting up the SDCard, the CS pin is connected to P07 on the XL9535. What should I put in for the SDCard cs parameter?

>>> import machine
>>> import os
>>> sd = machine.SDCard()
>>> sd.info()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 116] ETIMEDOUT: ESP_ERR_TIMEOUT
>>> os.mount(sd, "/sd")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: 16

mosi = GPIO 40
miso = GPIO 38
sck = GPIO 39
cs = ?

image image image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions