Skip to content

Issue : Should react to the case of IIC read failure (应该对IIC读取失败的情况做出反应) #281

@MR-XieXuan

Description

@MR-XieXuan

If the read fails, you should return a DateTime error, which is not good for your program.
write_then_read returns false on failure and true on success.
The library should also handle this.
It looks like this.
Chinese (中文) :
如果读取失败,应该会出现返回DateTime错误的情况,这样子对程序不利。
而 write_then_read 在操作失败以后会返回 false , 成功后会返回true。
库中也应该对这个进行处理 。
像这样子。

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