Skip to content

Serial.begin(,,SERIAL_TX_ONLY) doesn't works #2098

Closed
@stephjj

Description

@stephjj

Hello,

If I use Serial.begin(,,SERIAL_TX_ONLY) to use GPIO3 as a LED output on ESP-01, I got no output on TX.
But GPIO3 is usable with digitalWrite.

In uart.c (line 174), the tx_pin is set to 255 if rx_enable is false.
If I set it to 1, every thing is working fine.

Thanks.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions