Skip to content

OneWire 工作不正常 #25

@masao4511

Description

@masao4511

OneWire 工作不正常。我正在尝试用 DS18B20 制作一个温度计。
OneWire ds(PB2);
这段代码编译成功。
但是,它无法正常工作。
我把端口改成了 PA0,但问题依然没有解决。
我用示波器观察了端口的波形,没有输出波形。
有什么办法可以解决这个问题吗?

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