Skip to content

Arduino board support/definition for TTGO T1 (v1.3+) #2740

Closed
@probonopd

Description

@probonopd

A board variant for TTGO-T1 V1.3 is needed.

TTGO-T1 V1.3 is a board based on ESP32 with a TF (microSD) card slot on the board. It is similar to the existing hardware/esp32/1.0.2/variants/ttgo-lora32-v1/pins_arduino.h but instead of LoRa it has microSD on board.

Looking at the pinout diagram my question is, how can we get SD.begin() to use GPIO13 for CS, GPIO15 for MOSI, GPIO2 for MISO, GPIO14 for SCK

static const uint8_t SD_SS    = 13;
static const uint8_t SD_MOSI  = 15;
static const uint8_t SD_MISO  = 2;
static const uint8_t SD_SCK   = 14;

while keeping, for all other devices,

static const uint8_t SS    = 18;
static const uint8_t MOSI  = 23;
static const uint8_t MISO  = 19;
static const uint8_t SCK   = 5;

so that the microSD card can be used while other SPI devices can still be attached to the broken out pins?

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