Skip to content

Wire timeout commands appear to be missing #149

@robpattinson

Description

@robpattinson

Hi folks,
I am interfacing I2C to a temperature sensor which I do not have yet, so obviously my code receives no ACK and locks up.

I am using Arduino Wire and tried to use Wire.setWireTimeout(); but the atmelmegaavr library seems to have Wire.setTimeout(); instead

Reading the info on Wire, I expected to need to clear the timeout flag once this has occured but when I type Wire. the available clear option is clearWriteErrror but this does not seem to clear the timeout flag.

Is there another command I need to use or is it that the Wire.clearTimeout() function is not in the library?

I would appreciate your thoughts or suggestion,

Rob

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