Skip to content

arduino py32f030x8 双串口数据相同了 #18

@buckyy2018

Description

@buckyy2018

描述一下这个bug / Describe the bug

Serial.println("Hello World!------------1");
Serial1.println("Hello World!-----------2");
分别串口0,1打印,输出结果
2个串口打印内容相同

复现步骤 / To Reproduce

串口0 默认设置
串口1
Serial1.setRx(PB7);
Serial1.setTx(PB8);
Serial1.begin(115200);

如果正常,应该是什么样 / Expected behavior

2个端口内容不同

截图 / Screenshots

image

日志 / Logs

Hello World!------------1
Hello World!-----------2

Hello World!------------1
Hello World!-----------2

Hello World!------------1
Hello World!-----------2

系统 / System

win11

PACK包版本 / Version

vscode arduino

验证

  • 检查过该问题,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 提供了最小可复现工程或详细的复现步骤,确保开发者可以复现 / The provided reproduction is a minimal reproducible example of the bug.
  • 已经提供了完整的报错信息、日志、截图,没有经过删减。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions